1 |
commit: 00551e1e3fc1f3e80a43a13b8b7c657d6ad089ab |
2 |
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 23 12:07:18 2020 +0000 |
4 |
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 23 12:07:18 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00551e1e |
7 |
|
8 |
dev-perl/Class-Autouse: -r bump for EAPI7 |
9 |
|
10 |
- EAPI7 |
11 |
- Pad out deps more |
12 |
- Replace "sed" with "patch" |
13 |
|
14 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
15 |
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org> |
16 |
|
17 |
.../Class-Autouse/Class-Autouse-2.10.0-r3.ebuild | 30 ++++++++++++++++++++++ |
18 |
.../files/Class-Autouse-2.01-no-dot-inc.patch | 21 +++++++++++++++ |
19 |
2 files changed, 51 insertions(+) |
20 |
|
21 |
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 |
22 |
new file mode 100644 |
23 |
index 00000000000..5d651e9d909 |
24 |
--- /dev/null |
25 |
+++ b/dev-perl/Class-Autouse/Class-Autouse-2.10.0-r3.ebuild |
26 |
@@ -0,0 +1,30 @@ |
27 |
+# Copyright 1999-2020 Gentoo Authors |
28 |
+# Distributed under the terms of the GNU General Public License v2 |
29 |
+ |
30 |
+EAPI=7 |
31 |
+ |
32 |
+DIST_AUTHOR=ADAMK |
33 |
+DIST_VERSION=2.01 |
34 |
+inherit perl-module |
35 |
+ |
36 |
+DESCRIPTION="Runtime aspect loading of one or more classes" |
37 |
+ |
38 |
+SLOT="0" |
39 |
+KEYWORDS="~amd64 ~hppa ~mips ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris" |
40 |
+IUSE="test" |
41 |
+RESTRICT="!test? ( test )" |
42 |
+ |
43 |
+RDEPEND=" |
44 |
+ >=virtual/perl-File-Spec-0.800.0 |
45 |
+ >=virtual/perl-Scalar-List-Utils-1.180.0 |
46 |
+" |
47 |
+BDEPEND="${RDEPEND} |
48 |
+ >=virtual/perl-ExtUtils-MakeMaker-6.620.0 |
49 |
+ test? ( |
50 |
+ >=virtual/perl-File-Temp-0.170.0 |
51 |
+ >=virtual/perl-Test-Simple-0.470.0 |
52 |
+ ) |
53 |
+" |
54 |
+PATCHES=( |
55 |
+ "${FILESDIR}/${PN}-2.01-no-dot-inc.patch" |
56 |
+) |
57 |
|
58 |
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 |
59 |
new file mode 100644 |
60 |
index 00000000000..4fa0ab24436 |
61 |
--- /dev/null |
62 |
+++ b/dev-perl/Class-Autouse/files/Class-Autouse-2.01-no-dot-inc.patch |
63 |
@@ -0,0 +1,21 @@ |
64 |
+From 1527dbac07ae3b1ec157aed01ea568cea9f1f52e Mon Sep 17 00:00:00 2001 |
65 |
+From: Kent Fredric <kentnl@g.o> |
66 |
+Date: Sun, 24 May 2020 00:00:53 +1200 |
67 |
+Subject: Include '.' in @INC on perl 5.26+ |
68 |
+ |
69 |
+--- |
70 |
+ Makefile.PL | 1 + |
71 |
+ 1 file changed, 1 insertion(+) |
72 |
+ |
73 |
+diff --git a/Makefile.PL b/Makefile.PL |
74 |
+index 9a4a412..f17b280 100644 |
75 |
+--- a/Makefile.PL |
76 |
++++ b/Makefile.PL |
77 |
+@@ -1,3 +1,4 @@ |
78 |
++use lib '.'; |
79 |
+ use inc::Module::Install::DSL 1.04; |
80 |
+ |
81 |
+ all_from lib/Class/Autouse.pm |
82 |
+-- |
83 |
+2.26.2 |
84 |
+ |