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/CQL-Parser/, dev-perl/CQL-Parser/files/
Date: Thu, 07 May 2020 13:54:09
Message-Id: 1588859630.a58af4c60f6761c036b800db6a2dd37e6e5abaea.kentnl@gentoo
1 commit: a58af4c60f6761c036b800db6a2dd37e6e5abaea
2 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 7 13:44:11 2020 +0000
4 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
5 CommitDate: Thu May 7 13:53:50 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a58af4c6
7
8 dev-perl/CQL-Parser: -r bump for EAPI7
9
10 - EAPI7
11 - Parallel tests
12 - Use "patch" instead of "sed"
13 - Fix license as best I can re bug #721472
14
15 Bug: https://bugs.gentoo.org/721472
16 Package-Manager: Portage-2.3.99, Repoman-2.3.22
17 Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>
18
19 dev-perl/CQL-Parser/CQL-Parser-1.130.0-r1.ebuild | 32 ++++++++++++++++++++++
20 .../files/CQL-Parser-1.13-no-dot-inc.patch | 21 ++++++++++++++
21 2 files changed, 53 insertions(+)
22
23 diff --git a/dev-perl/CQL-Parser/CQL-Parser-1.130.0-r1.ebuild b/dev-perl/CQL-Parser/CQL-Parser-1.130.0-r1.ebuild
24 new file mode 100644
25 index 00000000000..c10924c45dd
26 --- /dev/null
27 +++ b/dev-perl/CQL-Parser/CQL-Parser-1.130.0-r1.ebuild
28 @@ -0,0 +1,32 @@
29 +# Copyright 1999-2020 Gentoo Authors
30 +# Distributed under the terms of the GNU General Public License v2
31 +
32 +EAPI=7
33 +
34 +DIST_AUTHOR=BRICAS
35 +DIST_VERSION=1.13
36 +inherit perl-module
37 +
38 +DESCRIPTION="compiles CQL strings into parse trees of Node subtypes"
39 +# Bug: https://bugs.gentoo.org/721472
40 +LICENSE="Artistic"
41 +SLOT="0"
42 +KEYWORDS="~amd64 ~x86"
43 +IUSE="test"
44 +RESTRICT="!test? ( test )"
45 +
46 +RDEPEND="
47 + >=dev-perl/Class-Accessor-0.100.0
48 + >=dev-perl/Clone-0.150.0
49 + >=dev-perl/String-Tokenizer-0.50.0
50 +"
51 +BDEPEND="${RDEPEND}
52 + >=virtual/perl-ExtUtils-MakeMaker-6.590.0
53 + test? (
54 + dev-perl/Test-Exception
55 + virtual/perl-Test-Simple
56 + )
57 +"
58 +PATCHES=(
59 + "${FILESDIR}/${PN}-1.13-no-dot-inc.patch"
60 +)
61
62 diff --git a/dev-perl/CQL-Parser/files/CQL-Parser-1.13-no-dot-inc.patch b/dev-perl/CQL-Parser/files/CQL-Parser-1.13-no-dot-inc.patch
63 new file mode 100644
64 index 00000000000..5a783408001
65 --- /dev/null
66 +++ b/dev-perl/CQL-Parser/files/CQL-Parser-1.13-no-dot-inc.patch
67 @@ -0,0 +1,21 @@
68 +From 0713a497ad56e6b0ff939c277e87db46c7763091 Mon Sep 17 00:00:00 2001
69 +From: Kent Fredric <kentnl@g.o>
70 +Date: Fri, 8 May 2020 01:28:54 +1200
71 +Subject: Include '.' in @INC on perl 5.26+
72 +
73 +---
74 + Makefile.PL | 1 +
75 + 1 file changed, 1 insertion(+)
76 +
77 +diff --git a/Makefile.PL b/Makefile.PL
78 +index 7c16d62..00324cb 100644
79 +--- a/Makefile.PL
80 ++++ b/Makefile.PL
81 +@@ -1,3 +1,4 @@
82 ++use lib '.';
83 + use inc::Module::Install 1.06;
84 +
85 + if ( -e 'MANIFEST.SKIP' ) {
86 +--
87 +2.26.2
88 +