diff options
author | Kent Fredric <kentnl@gentoo.org> | 2020-07-09 18:04:25 +1200 |
---|---|---|
committer | Kent Fredric <kentnl@gentoo.org> | 2020-07-09 18:04:25 +1200 |
commit | fee67309568cfdad248dd138f3662da182e3632b (patch) | |
tree | cc457e8bdb3917ce378295bb7333d93b2e7e757a /dev-perl | |
parent | dev-perl/DBI-Shell: Bump to version 11.960.0 (diff) | |
download | gentoo-fee67309568cfdad248dd138f3662da182e3632b.tar.gz gentoo-fee67309568cfdad248dd138f3662da182e3632b.tar.bz2 gentoo-fee67309568cfdad248dd138f3662da182e3632b.zip |
dev-perl/DBICx-TestDatabase: -r bump for EAPI7 + minor fixes
- EAPI7
- Convert 'sed' hack to 'patch'
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Kent Fredric <kentnl@gentoo.org>
Diffstat (limited to 'dev-perl')
-rw-r--r-- | dev-perl/DBICx-TestDatabase/DBICx-TestDatabase-0.50.0-r1.ebuild | 33 | ||||
-rw-r--r-- | dev-perl/DBICx-TestDatabase/files/DBICx-TestDatabase-0.05-no-dot-inc.patch | 21 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-perl/DBICx-TestDatabase/DBICx-TestDatabase-0.50.0-r1.ebuild b/dev-perl/DBICx-TestDatabase/DBICx-TestDatabase-0.50.0-r1.ebuild new file mode 100644 index 000000000000..4dc10048e15f --- /dev/null +++ b/dev-perl/DBICx-TestDatabase/DBICx-TestDatabase-0.50.0-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DIST_AUTHOR=JROCKWAY +DIST_VERSION=0.05 +inherit perl-module + +DESCRIPTION="create a temporary database from a DBIx::Class::Schema" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + virtual/perl-File-Temp + >=dev-perl/DBD-SQLite-1.290.0 + dev-perl/SQL-Translator +" +BDEPEND="${RDEPEND} + >=virtual/perl-ExtUtils-MakeMaker-6.360.0 + test? ( + dev-perl/DBIx-Class + >=virtual/perl-Test-Simple-1.1.10 + ) +" +PERL_RM_FILES=("MYMETA.json" "MYMETA.yml") # https://rt.cpan.org/Ticket/Display.html?id=108141 + +PATCHES=( + "${FILESDIR}/${PN}-0.05-no-dot-inc.patch" +) diff --git a/dev-perl/DBICx-TestDatabase/files/DBICx-TestDatabase-0.05-no-dot-inc.patch b/dev-perl/DBICx-TestDatabase/files/DBICx-TestDatabase-0.05-no-dot-inc.patch new file mode 100644 index 000000000000..80cd825d632c --- /dev/null +++ b/dev-perl/DBICx-TestDatabase/files/DBICx-TestDatabase-0.05-no-dot-inc.patch @@ -0,0 +1,21 @@ +From 84d5affecac79ea1a8641f7fecc9adf7691f4acd Mon Sep 17 00:00:00 2001 +From: Kent Fredric <kentnl@gentoo.org> +Date: Thu, 9 Jul 2020 17:46:23 +1200 +Subject: Include '.' in @INC on perl 5.26+ + +--- + Makefile.PL | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/Makefile.PL b/Makefile.PL +index 225f785..022d09d 100644 +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -1,3 +1,4 @@ ++use lib '.'; + use inc::Module::Install; + + name 'DBICx-TestDatabase'; +-- +2.27.0 + |