Gentoo Archives: gentoo-commits

From: Kent Fredric <kentnl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Crypt-DH-GMP/files/, dev-perl/Crypt-DH-GMP/
Date: Tue, 30 Jun 2020 18:39:14
Message-Id: 1593542337.2fa6517a78db324a41b2ab9460afebd8bf6b862d.kentnl@gentoo
1 commit: 2fa6517a78db324a41b2ab9460afebd8bf6b862d
2 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 30 18:38:37 2020 +0000
4 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 30 18:38:57 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fa6517a
7
8 dev-perl/Crypt-DH-GMP: -r bump for EAPI7 + fixes
9
10 - EAPI7
11 - Convert "sed" to "patch"
12 - Ensure CFLAGS passed to make
13
14 Package-Manager: Portage-2.3.100, Repoman-2.3.22
15 Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>
16
17 .../Crypt-DH-GMP/Crypt-DH-GMP-0.0.120-r1.ebuild | 42 ++++++++++++++++++++++
18 .../files/Crypt-DH-GMP-0.00012-no-dot-inc.patch | 21 +++++++++++
19 2 files changed, 63 insertions(+)
20
21 diff --git a/dev-perl/Crypt-DH-GMP/Crypt-DH-GMP-0.0.120-r1.ebuild b/dev-perl/Crypt-DH-GMP/Crypt-DH-GMP-0.0.120-r1.ebuild
22 new file mode 100644
23 index 00000000000..30f27ae1924
24 --- /dev/null
25 +++ b/dev-perl/Crypt-DH-GMP/Crypt-DH-GMP-0.0.120-r1.ebuild
26 @@ -0,0 +1,42 @@
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=DMAKI
33 +DIST_VERSION=0.00012
34 +inherit perl-module
35 +
36 +DESCRIPTION="Crypt::DH Using GMP Directly"
37 +
38 +SLOT="0"
39 +KEYWORDS="~amd64 ~x86"
40 +IUSE="test"
41 +RESTRICT="!test? ( test )"
42 +
43 +RDEPEND="
44 + >=virtual/perl-XSLoader-0.20.0
45 + >=dev-libs/gmp-4.0.0:0
46 +"
47 +DEPEND="
48 + >=dev-libs/gmp-4.0.0:0
49 +"
50 +BDEPEND="${RDEPEND}
51 + >=dev-perl/Devel-CheckLib-0.400.0
52 + >=virtual/perl-Devel-PPPort-3.190.0
53 + >=virtual/perl-ExtUtils-MakeMaker-6.590.0
54 + >=virtual/perl-ExtUtils-ParseXS-3.180.0
55 + test? (
56 + dev-perl/Test-Requires
57 + virtual/perl-Test-Simple
58 + )
59 +"
60 +PATCHES=(
61 + "${FILESDIR}/${PN}-0.00012-no-dot-inc.patch"
62 +)
63 +src_compile() {
64 + mymake=(
65 + "OPTIMIZE=${CFLAGS}"
66 + )
67 + perl-module_src_compile
68 +}
69
70 diff --git a/dev-perl/Crypt-DH-GMP/files/Crypt-DH-GMP-0.00012-no-dot-inc.patch b/dev-perl/Crypt-DH-GMP/files/Crypt-DH-GMP-0.00012-no-dot-inc.patch
71 new file mode 100644
72 index 00000000000..81df0b2dc5b
73 --- /dev/null
74 +++ b/dev-perl/Crypt-DH-GMP/files/Crypt-DH-GMP-0.00012-no-dot-inc.patch
75 @@ -0,0 +1,21 @@
76 +From 015df91fa006921333c47088d293845f8b8c38f9 Mon Sep 17 00:00:00 2001
77 +From: Kent Fredric <kentnl@g.o>
78 +Date: Wed, 1 Jul 2020 06:31:46 +1200
79 +Subject: Include '.' in @INC on perl 5.26+
80 +
81 +---
82 + Makefile.PL | 1 +
83 + 1 file changed, 1 insertion(+)
84 +
85 +diff --git a/Makefile.PL b/Makefile.PL
86 +index 8c03b4a..72cc677 100644
87 +--- a/Makefile.PL
88 ++++ b/Makefile.PL
89 +@@ -1,3 +1,4 @@
90 ++use lib '.';
91 + use inc::Module::Install;
92 +
93 + my @DEFINES;
94 +--
95 +2.27.0
96 +