summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2020-04-29 20:43:28 +1200
committerKent Fredric <kentnl@gentoo.org>2020-04-29 20:44:15 +1200
commitb3d633fd20b31e94e4611d70ea5de1532294ac63 (patch)
tree7867c8d8be55502e3418a81fe33cc6fb5f7df8b8 /dev-perl/Array-Window
parentdev-perl/Array-RefElem: -r bump for EAPI7 (diff)
downloadgentoo-b3d633fd20b31e94e4611d70ea5de1532294ac63.tar.gz
gentoo-b3d633fd20b31e94e4611d70ea5de1532294ac63.tar.bz2
gentoo-b3d633fd20b31e94e4611d70ea5de1532294ac63.zip
dev-perl/Array-Window: -r bump for EAPI7
- EAPI7 - Fix redundancy in DESCRIPTION - Migrate Makefile.PL patching to patches instead of sed - Strip unwanted tests Package-Manager: Portage-2.3.97, Repoman-2.3.22 Signed-off-by: Kent Fredric <kentnl@gentoo.org>
Diffstat (limited to 'dev-perl/Array-Window')
-rw-r--r--dev-perl/Array-Window/Array-Window-1.20.0-r2.ebuild32
-rw-r--r--dev-perl/Array-Window/files/Array-Window-1.02-no-dot-inc.patch21
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-perl/Array-Window/Array-Window-1.20.0-r2.ebuild b/dev-perl/Array-Window/Array-Window-1.20.0-r2.ebuild
new file mode 100644
index 000000000000..c9ef755c9fb1
--- /dev/null
+++ b/dev-perl/Array-Window/Array-Window-1.20.0-r2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DIST_AUTHOR=ADAMK
+DIST_VERSION=1.02
+inherit perl-module
+
+DESCRIPTION="Calculate windows/subsets/pages of arrays"
+
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=dev-perl/Params-Util-0.120.0
+"
+BDEPEND="${RDEPEND}
+ test? (
+ virtual/perl-Test-Simple
+ )
+"
+PATCHES=(
+ "${FILESDIR}/${PN}-1.02-no-dot-inc.patch"
+)
+PERL_RM_FILES=(
+ "t/97_meta.t"
+ "t/98_pod.t"
+ "t/99_pmv.t"
+)
diff --git a/dev-perl/Array-Window/files/Array-Window-1.02-no-dot-inc.patch b/dev-perl/Array-Window/files/Array-Window-1.02-no-dot-inc.patch
new file mode 100644
index 000000000000..1ca661b3e0e8
--- /dev/null
+++ b/dev-perl/Array-Window/files/Array-Window-1.02-no-dot-inc.patch
@@ -0,0 +1,21 @@
+From a611484135caeddcd28e65d6ee8f5794a6e8f982 Mon Sep 17 00:00:00 2001
+From: Kent Fredric <kentnl@gentoo.org>
+Date: Wed, 29 Apr 2020 20:33:15 +1200
+Subject: Fix loading from inc/ on perl 5.28+
+
+---
+ Makefile.PL | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index 67c6d3b..de84e50 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -1,3 +1,4 @@
++use lib '.';
+ use inc::Module::Install 0.75;
+
+ all_from 'lib/Array/Window.pm';
+--
+2.26.2
+