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/Authen-SASL/files/, dev-perl/Authen-SASL/
Date: Thu, 30 Apr 2020 11:02:45
Message-Id: 1588244520.8e3e4e56927008d384e152333e2a0c54f7247a42.kentnl@gentoo
1 commit: 8e3e4e56927008d384e152333e2a0c54f7247a42
2 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 30 11:00:00 2020 +0000
4 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 30 11:02:00 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e3e4e56
7
8 dev-perl/Authen-SASL: -r bump for EAPI7
9
10 - EAPI7
11 - Parallel Tests
12 - Move to "patch" instead of "sed"
13 - Improve dependencies
14
15 Package-Manager: Portage-2.3.97, Repoman-2.3.22
16 Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>
17
18 dev-perl/Authen-SASL/Authen-SASL-2.160.0-r2.ebuild | 30 ++++++++++++++++++++++
19 .../files/Authen-SASL-2.16-no-dot-inc.patch | 24 +++++++++++++++++
20 2 files changed, 54 insertions(+)
21
22 diff --git a/dev-perl/Authen-SASL/Authen-SASL-2.160.0-r2.ebuild b/dev-perl/Authen-SASL/Authen-SASL-2.160.0-r2.ebuild
23 new file mode 100644
24 index 00000000000..317928a4f96
25 --- /dev/null
26 +++ b/dev-perl/Authen-SASL/Authen-SASL-2.160.0-r2.ebuild
27 @@ -0,0 +1,30 @@
28 +# Copyright 1999-2020 Gentoo Authors
29 +# Distributed under the terms of the GNU General Public License v2
30 +
31 +EAPI=7
32 +
33 +DIST_AUTHOR=GBARR
34 +DIST_VERSION=2.16
35 +inherit perl-module
36 +
37 +DESCRIPTION="A Perl SASL interface"
38 +
39 +SLOT="0"
40 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
41 +IUSE="kerberos test"
42 +RESTRICT="!test? ( test )"
43 +
44 +RDEPEND="
45 + dev-perl/Digest-HMAC
46 + virtual/perl-Digest-MD5
47 + kerberos? ( dev-perl/GSSAPI )
48 +"
49 +BDEPEND="${DEPEND}
50 + >=virtual/perl-ExtUtils-MakeMaker-6.42
51 + test? (
52 + virtual/perl-Test-Simple
53 + )
54 +"
55 +PATCHES=(
56 + "${FILESDIR}/${PN}-2.16-no-dot-inc.patch"
57 +)
58
59 diff --git a/dev-perl/Authen-SASL/files/Authen-SASL-2.16-no-dot-inc.patch b/dev-perl/Authen-SASL/files/Authen-SASL-2.16-no-dot-inc.patch
60 new file mode 100644
61 index 00000000000..570457d7e2e
62 --- /dev/null
63 +++ b/dev-perl/Authen-SASL/files/Authen-SASL-2.16-no-dot-inc.patch
64 @@ -0,0 +1,24 @@
65 +From 3ee765fb6a909e8c22cb1853a9c22c8e4822c67b Mon Sep 17 00:00:00 2001
66 +From: Kent Fredric <kentnl@g.o>
67 +Date: Thu, 30 Apr 2020 11:18:48 +1200
68 +Subject: Include '.' in @INC on Perl 5.28+
69 +
70 +---
71 + Makefile.PL | 1 +
72 + 1 file changed, 1 insertion(+)
73 +
74 +diff --git a/Makefile.PL b/Makefile.PL
75 +index 4db553e..eebd90f 100644
76 +--- a/Makefile.PL
77 ++++ b/Makefile.PL
78 +@@ -3,6 +3,7 @@
79 + use strict;
80 + use warnings;
81 + use 5.005;
82 ++use lib '.';
83 + use inc::Module::Install;
84 +
85 + name 'Authen-SASL';
86 +--
87 +2.26.2
88 +