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/Array-Window/, dev-perl/Array-Window/files/
Date: Wed, 29 Apr 2020 08:44:34
Message-Id: 1588149855.b3d633fd20b31e94e4611d70ea5de1532294ac63.kentnl@gentoo
1 commit: b3d633fd20b31e94e4611d70ea5de1532294ac63
2 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 29 08:43:28 2020 +0000
4 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 29 08:44:15 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3d633fd
7
8 dev-perl/Array-Window: -r bump for EAPI7
9
10 - EAPI7
11 - Fix redundancy in DESCRIPTION
12 - Migrate Makefile.PL patching to patches instead of sed
13 - Strip unwanted tests
14
15 Package-Manager: Portage-2.3.97, Repoman-2.3.22
16 Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>
17
18 .../Array-Window/Array-Window-1.20.0-r2.ebuild | 32 ++++++++++++++++++++++
19 .../files/Array-Window-1.02-no-dot-inc.patch | 21 ++++++++++++++
20 2 files changed, 53 insertions(+)
21
22 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
23 new file mode 100644
24 index 00000000000..c9ef755c9fb
25 --- /dev/null
26 +++ b/dev-perl/Array-Window/Array-Window-1.20.0-r2.ebuild
27 @@ -0,0 +1,32 @@
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=ADAMK
34 +DIST_VERSION=1.02
35 +inherit perl-module
36 +
37 +DESCRIPTION="Calculate windows/subsets/pages of arrays"
38 +
39 +SLOT="0"
40 +KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
41 +IUSE="test"
42 +RESTRICT="!test? ( test )"
43 +
44 +RDEPEND="
45 + >=dev-perl/Params-Util-0.120.0
46 +"
47 +BDEPEND="${RDEPEND}
48 + test? (
49 + virtual/perl-Test-Simple
50 + )
51 +"
52 +PATCHES=(
53 + "${FILESDIR}/${PN}-1.02-no-dot-inc.patch"
54 +)
55 +PERL_RM_FILES=(
56 + "t/97_meta.t"
57 + "t/98_pod.t"
58 + "t/99_pmv.t"
59 +)
60
61 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
62 new file mode 100644
63 index 00000000000..1ca661b3e0e
64 --- /dev/null
65 +++ b/dev-perl/Array-Window/files/Array-Window-1.02-no-dot-inc.patch
66 @@ -0,0 +1,21 @@
67 +From a611484135caeddcd28e65d6ee8f5794a6e8f982 Mon Sep 17 00:00:00 2001
68 +From: Kent Fredric <kentnl@g.o>
69 +Date: Wed, 29 Apr 2020 20:33:15 +1200
70 +Subject: Fix loading from inc/ on perl 5.28+
71 +
72 +---
73 + Makefile.PL | 1 +
74 + 1 file changed, 1 insertion(+)
75 +
76 +diff --git a/Makefile.PL b/Makefile.PL
77 +index 67c6d3b..de84e50 100644
78 +--- a/Makefile.PL
79 ++++ b/Makefile.PL
80 +@@ -1,3 +1,4 @@
81 ++use lib '.';
82 + use inc::Module::Install 0.75;
83 +
84 + all_from 'lib/Array/Window.pm';
85 +--
86 +2.26.2
87 +