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/CGI-PSGI/, dev-perl/CGI-PSGI/files/
Date: Thu, 07 May 2020 08:29:52
Message-Id: 1588839846.a0a37105d467aa977230765191ed98933cdb2102.kentnl@gentoo
1 commit: a0a37105d467aa977230765191ed98933cdb2102
2 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 7 08:24:06 2020 +0000
4 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
5 CommitDate: Thu May 7 08:24:06 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0a37105
7
8 dev-perl/CGI-PSGI: -r bump for EAPI7
9
10 - EAPI7
11 - Parallel tests
12 - Use 'patch' instead of 'sed'
13
14 Package-Manager: Portage-2.3.99, Repoman-2.3.22
15 Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>
16
17 dev-perl/CGI-PSGI/CGI-PSGI-0.150.0-r2.ebuild | 27 ++++++++++++++++++++++
18 .../CGI-PSGI/files/CGI-PSGI-0.15-no-dot-inc.patch | 21 +++++++++++++++++
19 2 files changed, 48 insertions(+)
20
21 diff --git a/dev-perl/CGI-PSGI/CGI-PSGI-0.150.0-r2.ebuild b/dev-perl/CGI-PSGI/CGI-PSGI-0.150.0-r2.ebuild
22 new file mode 100644
23 index 00000000000..a8e35cafef7
24 --- /dev/null
25 +++ b/dev-perl/CGI-PSGI/CGI-PSGI-0.150.0-r2.ebuild
26 @@ -0,0 +1,27 @@
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=MIYAGAWA
33 +DIST_VERSION=0.15
34 +inherit perl-module
35 +
36 +DESCRIPTION="Adapt CGI.pm to the PSGI protocol"
37 +
38 +SLOT="0"
39 +KEYWORDS="~amd64 ~x86"
40 +IUSE="test"
41 +RESTRICT="!test? ( test )"
42 +
43 +RDEPEND="
44 + >=dev-perl/CGI-3.330.0
45 +"
46 +BDEPEND="${RDEPEND}
47 + test? (
48 + >=virtual/perl-Test-Simple-0.88
49 + )
50 +"
51 +PATCHES=(
52 + "${FILESDIR}/${PN}-0.15-no-dot-inc.patch"
53 +)
54
55 diff --git a/dev-perl/CGI-PSGI/files/CGI-PSGI-0.15-no-dot-inc.patch b/dev-perl/CGI-PSGI/files/CGI-PSGI-0.15-no-dot-inc.patch
56 new file mode 100644
57 index 00000000000..4b393580a52
58 --- /dev/null
59 +++ b/dev-perl/CGI-PSGI/files/CGI-PSGI-0.15-no-dot-inc.patch
60 @@ -0,0 +1,21 @@
61 +From 2e544516c828ebb3b351c3c07228ab17d68ed7ef Mon Sep 17 00:00:00 2001
62 +From: Kent Fredric <kentnl@g.o>
63 +Date: Thu, 7 May 2020 20:14:05 +1200
64 +Subject: Include '.' in @INC on Perl 5.26+
65 +
66 +---
67 + Makefile.PL | 1 +
68 + 1 file changed, 1 insertion(+)
69 +
70 +diff --git a/Makefile.PL b/Makefile.PL
71 +index 8de564d..3c157d9 100644
72 +--- a/Makefile.PL
73 ++++ b/Makefile.PL
74 +@@ -1,3 +1,4 @@
75 ++use lib '.';
76 + use inc::Module::Install;
77 + name 'CGI-PSGI';
78 + all_from 'lib/CGI/PSGI.pm';
79 +--
80 +2.26.2
81 +