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/Curses-UI/, dev-perl/Curses-UI/files/
Date: Thu, 02 Jul 2020 19:36:05
Message-Id: 1593718548.3d0e8f9e4feb745d8ee0e423752e61cc20513a46.kentnl@gentoo
1 commit: 3d0e8f9e4feb745d8ee0e423752e61cc20513a46
2 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 2 19:35:28 2020 +0000
4 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 2 19:35:48 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d0e8f9e
7
8 dev-perl/Curses-UI: -r bump for EAPI7 + fixes
9
10 - EAPI7
11 - Unconditionally patch out bad tests
12 - Move 'sed' to 'patch'
13
14 Package-Manager: Portage-2.3.100, Repoman-2.3.22
15 Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>
16
17 dev-perl/Curses-UI/Curses-UI-0.960.900-r3.ebuild | 30 ++++++++++++++++++++++
18 .../files/Curses-UI-0.9609-no-dot-inc.patch | 22 ++++++++++++++++
19 2 files changed, 52 insertions(+)
20
21 diff --git a/dev-perl/Curses-UI/Curses-UI-0.960.900-r3.ebuild b/dev-perl/Curses-UI/Curses-UI-0.960.900-r3.ebuild
22 new file mode 100644
23 index 00000000000..04c46804b2c
24 --- /dev/null
25 +++ b/dev-perl/Curses-UI/Curses-UI-0.960.900-r3.ebuild
26 @@ -0,0 +1,30 @@
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=MDXI
33 +DIST_VERSION=0.9609
34 +inherit perl-module
35 +
36 +DESCRIPTION="Perl UI framework based on the curses library"
37 +
38 +SLOT="0"
39 +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
40 +IUSE="test"
41 +RESTRICT="!test? ( test )"
42 +
43 +RDEPEND="
44 + dev-perl/Curses
45 + dev-perl/TermReadKey
46 +"
47 +BDEPEND="${RDEPEND}
48 + >=virtual/perl-ExtUtils-MakeMaker-6.420.0
49 + test? ( virtual/perl-Test-Simple )
50 +"
51 +PATCHES=(
52 + "${FILESDIR}/${PN}-0.9609-no-dot-inc.patch"
53 +)
54 +PERL_RM_FILES=(
55 + t/05pod.t
56 +)
57
58 diff --git a/dev-perl/Curses-UI/files/Curses-UI-0.9609-no-dot-inc.patch b/dev-perl/Curses-UI/files/Curses-UI-0.9609-no-dot-inc.patch
59 new file mode 100644
60 index 00000000000..29027bccc8b
61 --- /dev/null
62 +++ b/dev-perl/Curses-UI/files/Curses-UI-0.9609-no-dot-inc.patch
63 @@ -0,0 +1,22 @@
64 +From 161a0a10c190de155e53d08f413aa49d4a4780e9 Mon Sep 17 00:00:00 2001
65 +From: Kent Fredric <kentnl@g.o>
66 +Date: Fri, 3 Jul 2020 07:28:17 +1200
67 +Subject: Include '.' in @INC on perl 5.26+
68 +
69 +---
70 + Makefile.PL | 1 +
71 + 1 file changed, 1 insertion(+)
72 +
73 +diff --git a/Makefile.PL b/Makefile.PL
74 +index 0084c7b..d84c838 100644
75 +--- a/Makefile.PL
76 ++++ b/Makefile.PL
77 +@@ -1,4 +1,5 @@
78 + # Load the Module::Install bundled in ./inc/
79 ++use lib '.';
80 + use inc::Module::Install;
81 +
82 + # Define metadata
83 +--
84 +2.27.0
85 +