commit:     119e932066936c7f626fc9b100392f8947c67855
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 19 03:39:55 2020 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Fri Jun 19 03:40:20 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=119e9320

dev-perl/Class-ReturnValue: -r bump for EAPI7

- EAPI7
- Remove useless/empty variable assignments
- Parallel tests
- Move from "sed" to a patch

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

 .../Class-ReturnValue-0.550.0-r2.ebuild             | 20 ++++++++++++++++++++
 .../files/Class-ReturnValue-0.55-no-dot-inc.patch   | 21 +++++++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git a/dev-perl/Class-ReturnValue/Class-ReturnValue-0.550.0-r2.ebuild 
b/dev-perl/Class-ReturnValue/Class-ReturnValue-0.550.0-r2.ebuild
new file mode 100644
index 00000000000..9d322eb08fd
--- /dev/null
+++ b/dev-perl/Class-ReturnValue/Class-ReturnValue-0.550.0-r2.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DIST_AUTHOR=JESSE
+DIST_VERSION=0.55
+inherit perl-module
+
+DESCRIPTION="A return-value object that lets you treat it as as a boolean, 
array or object"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
+
+RDEPEND="dev-perl/Devel-StackTrace"
+BDEPEND="${RDEPEND}"
+
+PATCHES=(
+       "${FILESDIR}/${PN}-0.55-no-dot-inc.patch"
+)

diff --git 
a/dev-perl/Class-ReturnValue/files/Class-ReturnValue-0.55-no-dot-inc.patch 
b/dev-perl/Class-ReturnValue/files/Class-ReturnValue-0.55-no-dot-inc.patch
new file mode 100644
index 00000000000..8f3a000f9f7
--- /dev/null
+++ b/dev-perl/Class-ReturnValue/files/Class-ReturnValue-0.55-no-dot-inc.patch
@@ -0,0 +1,21 @@
+From 17955682401dcf75f6e71920d64d1f85abc9b138 Mon Sep 17 00:00:00 2001
+From: Kent Fredric <ken...@gentoo.org>
+Date: Fri, 19 Jun 2020 15:15:25 +1200
+Subject: Include '.' in @INC for perl 5.26+
+
+---
+ Makefile.PL | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index ff879d5..301ea88 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -1,3 +1,4 @@
++use lib '.';
+ use inc::Module::Install;
+ 
+ name('Class-ReturnValue');
+-- 
+2.27.0
+

Reply via email to