public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-perl/CGI-PSGI/, dev-perl/CGI-PSGI/files/
@ 2020-05-07  8:29 Kent Fredric
  0 siblings, 0 replies; only message in thread
From: Kent Fredric @ 2020-05-07  8:29 UTC (permalink / raw
  To: gentoo-commits

commit:     a0a37105d467aa977230765191ed98933cdb2102
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Thu May  7 08:24:06 2020 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Thu May  7 08:24:06 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0a37105

dev-perl/CGI-PSGI: -r bump for EAPI7

- EAPI7
- Parallel tests
- Use 'patch' instead of 'sed'

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>

 dev-perl/CGI-PSGI/CGI-PSGI-0.150.0-r2.ebuild       | 27 ++++++++++++++++++++++
 .../CGI-PSGI/files/CGI-PSGI-0.15-no-dot-inc.patch  | 21 +++++++++++++++++
 2 files changed, 48 insertions(+)

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
new file mode 100644
index 00000000000..a8e35cafef7
--- /dev/null
+++ b/dev-perl/CGI-PSGI/CGI-PSGI-0.150.0-r2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DIST_AUTHOR=MIYAGAWA
+DIST_VERSION=0.15
+inherit perl-module
+
+DESCRIPTION="Adapt CGI.pm to the PSGI protocol"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	>=dev-perl/CGI-3.330.0
+"
+BDEPEND="${RDEPEND}
+	test? (
+		>=virtual/perl-Test-Simple-0.88
+	)
+"
+PATCHES=(
+	"${FILESDIR}/${PN}-0.15-no-dot-inc.patch"
+)

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
new file mode 100644
index 00000000000..4b393580a52
--- /dev/null
+++ b/dev-perl/CGI-PSGI/files/CGI-PSGI-0.15-no-dot-inc.patch
@@ -0,0 +1,21 @@
+From 2e544516c828ebb3b351c3c07228ab17d68ed7ef Mon Sep 17 00:00:00 2001
+From: Kent Fredric <kentnl@gentoo.org>
+Date: Thu, 7 May 2020 20:14:05 +1200
+Subject: Include '.' in @INC on Perl 5.26+
+
+---
+ Makefile.PL | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index 8de564d..3c157d9 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -1,3 +1,4 @@
++use lib '.';
+ use inc::Module::Install;
+ name 'CGI-PSGI';
+ all_from 'lib/CGI/PSGI.pm';
+-- 
+2.26.2
+


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-05-07  8:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-07  8:29 [gentoo-commits] repo/gentoo:master commit in: dev-perl/CGI-PSGI/, dev-perl/CGI-PSGI/files/ Kent Fredric

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox