commit: fee67309568cfdad248dd138f3662da182e3632b
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 9 06:04:25 2020 +0000
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Thu Jul 9 06:04:25 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fee67309
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 <AT> gentoo.org>
.../DBICx-TestDatabase-0.50.0-r1.ebuild | 33 ++++++++++++++++++++++
.../files/DBICx-TestDatabase-0.05-no-dot-inc.patch | 21 ++++++++++++++
2 files changed, 54 insertions(+)
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 00000000000..4dc10048e15
--- /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 00000000000..80cd825d632
--- /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 <[email protected]>
+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
+