diff options
author | Kent Fredric <kentnl@gentoo.org> | 2017-10-20 14:29:04 +1300 |
---|---|---|
committer | Kent Fredric <kentnl@gentoo.org> | 2017-10-20 20:39:42 +1300 |
commit | f521fd432f191f7179c71a6df874893803e123bf (patch) | |
tree | 9e6eeebc95269855cccb2bfb6eb2cc69b4e5fb1d /dev-perl/DBIx-Safe | |
parent | dev-perl/DBIx-Class-UserStamp: EAPI6 + Tests (diff) | |
download | gentoo-f521fd432f191f7179c71a6df874893803e123bf.tar.gz gentoo-f521fd432f191f7179c71a6df874893803e123bf.tar.bz2 gentoo-f521fd432f191f7179c71a6df874893803e123bf.zip |
dev-perl/DBIx-Safe: EAPI6 + Tests
- EAPI6
- Enable tests
- Cleanup tests
- Document manual stuff
- Udpate remote-id's.
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'dev-perl/DBIx-Safe')
-rw-r--r-- | dev-perl/DBIx-Safe/DBIx-Safe-1.2.5-r1.ebuild | 29 | ||||
-rw-r--r-- | dev-perl/DBIx-Safe/metadata.xml | 4 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-perl/DBIx-Safe/DBIx-Safe-1.2.5-r1.ebuild b/dev-perl/DBIx-Safe/DBIx-Safe-1.2.5-r1.ebuild new file mode 100644 index 000000000000..dd738e566fe5 --- /dev/null +++ b/dev-perl/DBIx-Safe/DBIx-Safe-1.2.5-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DIST_AUTHOR=TURNSTEP +DIST_VERSION=1.2.5 +inherit perl-module eutils + +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 +} diff --git a/dev-perl/DBIx-Safe/metadata.xml b/dev-perl/DBIx-Safe/metadata.xml index 2b9a936fc0a1..924a4f01a129 100644 --- a/dev-perl/DBIx-Safe/metadata.xml +++ b/dev-perl/DBIx-Safe/metadata.xml @@ -5,4 +5,8 @@ <email>perl@gentoo.org</email> <name>Gentoo Perl Project</name> </maintainer> + <upstream> + <remote-id type="cpan">DBIx-Safe</remote-id> + <remote-id type="cpan-module">DBIx::Safe</remote-id> + </upstream> </pkgmetadata> |