From: Kent Fredric Date: Fri, 20 Oct 2017 01:29:04 +0000 (+1300) Subject: dev-perl/DBIx-Safe: EAPI6 + Tests X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f521fd432f191f7179c71a6df874893803e123bf;p=gentoo.git 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 --- 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 @@ perl@gentoo.org Gentoo Perl Project + + DBIx-Safe + DBIx::Safe +