dev-perl/Class-DBI: EAPI6 + Tests
authorKent Fredric <kentnl@gentoo.org>
Tue, 17 Oct 2017 21:58:01 +0000 (10:58 +1300)
committerKent Fredric <kentnl@gentoo.org>
Tue, 17 Oct 2017 21:58:29 +0000 (10:58 +1300)
- EAPI6
- Enable tests
- Document testing tips

Package-Manager: Portage-2.3.8, Repoman-2.3.3

dev-perl/Class-DBI/Class-DBI-3.0.17-r2.ebuild [new file with mode: 0644]

diff --git a/dev-perl/Class-DBI/Class-DBI-3.0.17-r2.ebuild b/dev-perl/Class-DBI/Class-DBI-3.0.17-r2.ebuild
new file mode 100644 (file)
index 0000000..7edd9ce
--- /dev/null
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=TMTM
+DIST_VERSION=v${PV}
+inherit perl-module
+
+DESCRIPTION="Simple Database Abstraction"
+
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-solaris"
+IUSE="test"
+
+RDEPEND=">=dev-perl/Class-Data-Inheritable-0.20.0
+       >=dev-perl/Class-Accessor-0.18.0
+       >=dev-perl/Class-Trigger-0.70.0
+       >=virtual/perl-File-Temp-0.120.0
+       virtual/perl-Storable
+       >=virtual/perl-Scalar-List-Utils-1.80.0
+       dev-perl/Clone
+       >=dev-perl/Ima-DBI-0.330.0
+       virtual/perl-version
+       >=dev-perl/UNIVERSAL-moniker-0.60.0"
+DEPEND="${RDEPEND}
+       test? ( >=virtual/perl-Test-Simple-0.470.0 )
+"
+src_test() {
+       perl_rm_files t/97-pod.t
+       ewarn "Testing this package comprehensively needs some manual interaction."
+       ewarn "For details, see:"
+       ewarn "https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/dev-perl/Class-DBI"
+       perl-module_src_test
+}