commit:     486221eae1556463be820cd34b0eb259788cff53
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 19 23:02:37 2020 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Fri Jun 19 23:03:08 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=486221ea

dev-perl/Class-Spiffy: -r bump for EAPI7

- EAPI7
- Remove unused/empty variable assignments
- Parallel tests
- Migrate to an actual "patch" instead of "sed"
- Improve dependencies

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>

 .../Class-Spiffy/Class-Spiffy-0.150.0-r2.ebuild    | 23 ++++++++++++++++++++++
 .../files/Class-Spiffy-0.15-no-dot-inc.patch       | 21 ++++++++++++++++++++
 dev-perl/Class-Spiffy/metadata.xml                 |  1 -
 3 files changed, 44 insertions(+), 1 deletion(-)

diff --git a/dev-perl/Class-Spiffy/Class-Spiffy-0.150.0-r2.ebuild 
b/dev-perl/Class-Spiffy/Class-Spiffy-0.150.0-r2.ebuild
new file mode 100644
index 00000000000..901907ed1ea
--- /dev/null
+++ b/dev-perl/Class-Spiffy/Class-Spiffy-0.150.0-r2.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DIST_AUTHOR=INGY
+DIST_VERSION=0.15
+inherit perl-module
+
+DESCRIPTION="Spiffy Perl Interface Framework For You"
+
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+RDEPEND="
+       virtual/perl-Scalar-List-Utils
+"
+BDEPEND="
+       ${RDEPEND}
+"
+PATCHES=(
+       "${FILESDIR}/${PN}-0.15-no-dot-inc.patch"
+)

diff --git a/dev-perl/Class-Spiffy/files/Class-Spiffy-0.15-no-dot-inc.patch 
b/dev-perl/Class-Spiffy/files/Class-Spiffy-0.15-no-dot-inc.patch
new file mode 100644
index 00000000000..f94168fc24a
--- /dev/null
+++ b/dev-perl/Class-Spiffy/files/Class-Spiffy-0.15-no-dot-inc.patch
@@ -0,0 +1,21 @@
+From 1c979a0223112986d4eb75578dc8c8eb24296c0f Mon Sep 17 00:00:00 2001
+From: Kent Fredric <[email protected]>
+Date: Sat, 20 Jun 2020 10:51:32 +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 a9195f4..db2bff9 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -1,3 +1,4 @@
++use lib '.';
+ use inc::Module::Install;
+ 
+ name        'Class-Spiffy';
+-- 
+2.27.0
+

diff --git a/dev-perl/Class-Spiffy/metadata.xml 
b/dev-perl/Class-Spiffy/metadata.xml
index 327a43cdad0..5028c222720 100644
--- a/dev-perl/Class-Spiffy/metadata.xml
+++ b/dev-perl/Class-Spiffy/metadata.xml
@@ -9,6 +9,5 @@
     <remote-id type="cpan">Class-Spiffy</remote-id>
     <remote-id type="cpan-module">Class::Spiffy</remote-id>
     <remote-id type="cpan-module">Class::Spiffy::mixin</remote-id>
-    <remote-id type="cpan-module">DB</remote-id>
   </upstream>
 </pkgmetadata>

Reply via email to