1 |
commit: b1bea9a9c529300a9081e1a14e53efe1c98e5845 |
2 |
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 13 14:23:01 2020 +0000 |
4 |
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 13 14:26:04 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1bea9a9 |
7 |
|
8 |
dev-perl/Cache-Simple-TimedExpiry: -r bump for EAPI7 |
9 |
|
10 |
- EAPI7 |
11 |
- Add license note re bug #722854 |
12 |
- Use a patch instead of "sed" |
13 |
- Remove useless and empty variable assignments |
14 |
|
15 |
Bug: https://bugs.gentoo.org/722854 |
16 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
17 |
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org> |
18 |
|
19 |
.../Cache-Simple-TimedExpiry-0.270.0-r2.ebuild | 18 ++++++++++++++++++ |
20 |
.../Cache-Simple-TimedExpiry-0.27-no-dot-inc.patch | 21 +++++++++++++++++++++ |
21 |
2 files changed, 39 insertions(+) |
22 |
|
23 |
diff --git a/dev-perl/Cache-Simple-TimedExpiry/Cache-Simple-TimedExpiry-0.270.0-r2.ebuild b/dev-perl/Cache-Simple-TimedExpiry/Cache-Simple-TimedExpiry-0.270.0-r2.ebuild |
24 |
new file mode 100644 |
25 |
index 00000000000..0a7d7fff724 |
26 |
--- /dev/null |
27 |
+++ b/dev-perl/Cache-Simple-TimedExpiry/Cache-Simple-TimedExpiry-0.270.0-r2.ebuild |
28 |
@@ -0,0 +1,18 @@ |
29 |
+# Copyright 1999-2020 Gentoo Authors |
30 |
+# Distributed under the terms of the GNU General Public License v2 |
31 |
+ |
32 |
+EAPI=7 |
33 |
+ |
34 |
+DIST_AUTHOR=JESSE |
35 |
+DIST_VERSION=0.27 |
36 |
+inherit perl-module |
37 |
+ |
38 |
+DESCRIPTION="A lightweight cache with timed expiration" |
39 |
+# License note: no formal upstream license declaration |
40 |
+# only an assumed one from 'license => perl' in Makefile.PL |
41 |
+# Bug: https://bugs.gentoo.org/722854 |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86" |
44 |
+PATCHES=( |
45 |
+ "${FILESDIR}/${PN}-0.27-no-dot-inc.patch" |
46 |
+) |
47 |
|
48 |
diff --git a/dev-perl/Cache-Simple-TimedExpiry/files/Cache-Simple-TimedExpiry-0.27-no-dot-inc.patch b/dev-perl/Cache-Simple-TimedExpiry/files/Cache-Simple-TimedExpiry-0.27-no-dot-inc.patch |
49 |
new file mode 100644 |
50 |
index 00000000000..ba1d06d9322 |
51 |
--- /dev/null |
52 |
+++ b/dev-perl/Cache-Simple-TimedExpiry/files/Cache-Simple-TimedExpiry-0.27-no-dot-inc.patch |
53 |
@@ -0,0 +1,21 @@ |
54 |
+From 5b80a167c8241dd309f7532072deda6c4d8ae6ef Mon Sep 17 00:00:00 2001 |
55 |
+From: Kent Fredric <kentnl@g.o> |
56 |
+Date: Thu, 14 May 2020 01:31:25 +1200 |
57 |
+Subject: Include '.' in @INC on Perl 5.26+ |
58 |
+ |
59 |
+--- |
60 |
+ Makefile.PL | 1 + |
61 |
+ 1 file changed, 1 insertion(+) |
62 |
+ |
63 |
+diff --git a/Makefile.PL b/Makefile.PL |
64 |
+index 2290ec1..53c96c2 100644 |
65 |
+--- a/Makefile.PL |
66 |
++++ b/Makefile.PL |
67 |
+@@ -1,3 +1,4 @@ |
68 |
++use lib '.'; |
69 |
+ use inc::Module::Install; |
70 |
+ |
71 |
+ name ('Cache-Simple-TimedExpiry'); |
72 |
+-- |
73 |
+2.26.2 |
74 |
+ |