commit:     00551e1e3fc1f3e80a43a13b8b7c657d6ad089ab
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Sat May 23 12:07:18 2020 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Sat May 23 12:07:18 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00551e1e

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

- EAPI7
- Pad out deps more
- Replace "sed" with "patch"

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

 .../Class-Autouse/Class-Autouse-2.10.0-r3.ebuild   | 30 ++++++++++++++++++++++
 .../files/Class-Autouse-2.01-no-dot-inc.patch      | 21 +++++++++++++++
 2 files changed, 51 insertions(+)

diff --git a/dev-perl/Class-Autouse/Class-Autouse-2.10.0-r3.ebuild 
b/dev-perl/Class-Autouse/Class-Autouse-2.10.0-r3.ebuild
new file mode 100644
index 00000000000..5d651e9d909
--- /dev/null
+++ b/dev-perl/Class-Autouse/Class-Autouse-2.10.0-r3.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DIST_AUTHOR=ADAMK
+DIST_VERSION=2.01
+inherit perl-module
+
+DESCRIPTION="Runtime aspect loading of one or more classes"
+
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~mips ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x86-macos ~sparc-solaris"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+       >=virtual/perl-File-Spec-0.800.0
+       >=virtual/perl-Scalar-List-Utils-1.180.0
+"
+BDEPEND="${RDEPEND}
+       >=virtual/perl-ExtUtils-MakeMaker-6.620.0
+       test? (
+               >=virtual/perl-File-Temp-0.170.0
+               >=virtual/perl-Test-Simple-0.470.0
+       )
+"
+PATCHES=(
+       "${FILESDIR}/${PN}-2.01-no-dot-inc.patch"
+)

diff --git a/dev-perl/Class-Autouse/files/Class-Autouse-2.01-no-dot-inc.patch 
b/dev-perl/Class-Autouse/files/Class-Autouse-2.01-no-dot-inc.patch
new file mode 100644
index 00000000000..4fa0ab24436
--- /dev/null
+++ b/dev-perl/Class-Autouse/files/Class-Autouse-2.01-no-dot-inc.patch
@@ -0,0 +1,21 @@
+From 1527dbac07ae3b1ec157aed01ea568cea9f1f52e Mon Sep 17 00:00:00 2001
+From: Kent Fredric <[email protected]>
+Date: Sun, 24 May 2020 00:00:53 +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 9a4a412..f17b280 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -1,3 +1,4 @@
++use lib '.';
+ use inc::Module::Install::DSL 1.04;
+ 
+ all_from      lib/Class/Autouse.pm
+-- 
+2.26.2
+

Reply via email to