1 |
commit: 01793cf31060c68d178d5d5e6d26eafcbc30e15b |
2 |
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 30 23:20:13 2020 +0000 |
4 |
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 30 23:21:12 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01793cf3 |
7 |
|
8 |
dev-perl/Crypt-DSA: -r bump for EAPI7 and fixes |
9 |
|
10 |
- EAPI7 |
11 |
- Parallel tests |
12 |
- Improve dependencies to satisfy more tests |
13 |
- Migrate "sed" to "patch" |
14 |
|
15 |
Keywords: |
16 |
- Dropped ~sparc due to new test dependency dev-perl/Convert-PEM |
17 |
|
18 |
Package-Manager: Portage-2.3.100, Repoman-2.3.22 |
19 |
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org> |
20 |
|
21 |
dev-perl/Crypt-DSA/Crypt-DSA-1.170.0-r1.ebuild | 35 ++++++++++++++++++++++ |
22 |
.../files/Crypt-DSA-1.17-no-dot-inc.patch | 21 +++++++++++++ |
23 |
2 files changed, 56 insertions(+) |
24 |
|
25 |
diff --git a/dev-perl/Crypt-DSA/Crypt-DSA-1.170.0-r1.ebuild b/dev-perl/Crypt-DSA/Crypt-DSA-1.170.0-r1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..55bac478b23 |
28 |
--- /dev/null |
29 |
+++ b/dev-perl/Crypt-DSA/Crypt-DSA-1.170.0-r1.ebuild |
30 |
@@ -0,0 +1,35 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+DIST_AUTHOR=ADAMK |
37 |
+DIST_VERSION=1.17 |
38 |
+inherit perl-module |
39 |
+ |
40 |
+DESCRIPTION="DSA Signatures and Key Generation" |
41 |
+ |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~x86 ~x86-solaris" |
44 |
+IUSE="test" |
45 |
+RESTRICT="!test? ( test )" |
46 |
+ |
47 |
+RDEPEND=" |
48 |
+ >=dev-perl/Data-Buffer-0.10.0 |
49 |
+ dev-perl/Digest-SHA1 |
50 |
+ virtual/perl-File-Spec |
51 |
+ >=dev-perl/File-Which-0.50.0 |
52 |
+ virtual/perl-MIME-Base64 |
53 |
+ >=virtual/perl-Math-BigInt-1.780.0 |
54 |
+" |
55 |
+DEPEND="${RDEPEND} |
56 |
+ >=virtual/perl-ExtUtils-MakeMaker-6.420.0 |
57 |
+ test? ( |
58 |
+ dev-perl/Convert-PEM |
59 |
+ dev-perl/Math-BigInt-GMP |
60 |
+ >=virtual/perl-Test-Simple-0.420.0 |
61 |
+ ) |
62 |
+" |
63 |
+PATCHES=( |
64 |
+ "${FILESDIR}/${PN}-1.17-no-dot-inc.patch" |
65 |
+) |
66 |
|
67 |
diff --git a/dev-perl/Crypt-DSA/files/Crypt-DSA-1.17-no-dot-inc.patch b/dev-perl/Crypt-DSA/files/Crypt-DSA-1.17-no-dot-inc.patch |
68 |
new file mode 100644 |
69 |
index 00000000000..5f0012ec33f |
70 |
--- /dev/null |
71 |
+++ b/dev-perl/Crypt-DSA/files/Crypt-DSA-1.17-no-dot-inc.patch |
72 |
@@ -0,0 +1,21 @@ |
73 |
+From 0e063bbea153b923ed0997e2990a2f30ef48c71f Mon Sep 17 00:00:00 2001 |
74 |
+From: Kent Fredric <kentnl@g.o> |
75 |
+Date: Wed, 1 Jul 2020 10:59:21 +1200 |
76 |
+Subject: Include '.' in @INC for perl 5.26+ |
77 |
+ |
78 |
+--- |
79 |
+ Makefile.PL | 1 + |
80 |
+ 1 file changed, 1 insertion(+) |
81 |
+ |
82 |
+diff --git a/Makefile.PL b/Makefile.PL |
83 |
+index f29461b..0d015e9 100644 |
84 |
+--- a/Makefile.PL |
85 |
++++ b/Makefile.PL |
86 |
+@@ -1,3 +1,4 @@ |
87 |
++use lib '.'; |
88 |
+ use inc::Module::Install 1.01; |
89 |
+ |
90 |
+ all_from 'lib/Crypt/DSA.pm'; |
91 |
+-- |
92 |
+2.27.0 |
93 |
+ |