summaryrefslogtreecommitdiff
blob: 76381a06bcdd3e8e2e8806109989707c40dbbae7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6

DIST_AUTHOR=TURNSTEP
DIST_VERSION=1.2.5
inherit perl-module

DESCRIPTION="Safer access to your database through a DBI database handle"

SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
LICENSE="BSD-2"

RDEPEND="dev-perl/DBI
	dev-perl/DBD-Pg"
DEPEND="${RDEPEND}"

src_test() {
	perl_rm_files t/02perlcritic.t
	if [[ -z "${DBI_DSN}" ]]; then
		ewarn "Comprehensive testing of this package requires some manual configuration."
		ewarn "For details, see:"
		ewarn "https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/dev-perl/DBIx-Safe"
	fi
	perl-module_src_test
}