1 |
commit: f9f48bd53a97ffa57155009f9612cb8420c63377 |
2 |
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 19 15:18:10 2017 +0000 |
4 |
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 19 15:19:06 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9f48bd5 |
7 |
|
8 |
dev-perl/PPI: Fix test failure without '.' in @INC |
9 |
|
10 |
- Apply patch supplied upstream for t/marpa.t |
11 |
- Fix wrongly normalized version. |
12 |
|
13 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
14 |
|
15 |
.../PPI/{PPI-1.224.ebuild => PPI-1.224.0.ebuild} | 1 + |
16 |
.../PPI/files/PPI-1.224.0-t-marpa-dot-inc.patch | 27 ++++++++++++++++++++++ |
17 |
dev-perl/PPI/metadata.xml | 1 - |
18 |
3 files changed, 28 insertions(+), 1 deletion(-) |
19 |
|
20 |
diff --git a/dev-perl/PPI/PPI-1.224.ebuild b/dev-perl/PPI/PPI-1.224.0.ebuild |
21 |
similarity index 95% |
22 |
rename from dev-perl/PPI/PPI-1.224.ebuild |
23 |
rename to dev-perl/PPI/PPI-1.224.0.ebuild |
24 |
index 95145cb7dad..2af6125c1c5 100644 |
25 |
--- a/dev-perl/PPI/PPI-1.224.ebuild |
26 |
+++ b/dev-perl/PPI/PPI-1.224.0.ebuild |
27 |
@@ -36,3 +36,4 @@ DEPEND="${RDEPEND} |
28 |
>=dev-perl/Test-Warn-0.300.0 |
29 |
) |
30 |
" |
31 |
+PATCHES=("${FILESDIR}/${P}-t-marpa-dot-inc.patch") |
32 |
|
33 |
diff --git a/dev-perl/PPI/files/PPI-1.224.0-t-marpa-dot-inc.patch b/dev-perl/PPI/files/PPI-1.224.0-t-marpa-dot-inc.patch |
34 |
new file mode 100644 |
35 |
index 00000000000..2a02e1d71dc |
36 |
--- /dev/null |
37 |
+++ b/dev-perl/PPI/files/PPI-1.224.0-t-marpa-dot-inc.patch |
38 |
@@ -0,0 +1,27 @@ |
39 |
+From 74e2e77fdce3e2f366342ad736c25e49379d2013 Mon Sep 17 00:00:00 2001 |
40 |
+From: Kent Fredric <kentfredric@×××××.com> |
41 |
+Date: Tue, 20 Jun 2017 03:04:48 +1200 |
42 |
+Subject: [PATCH] t/marpa.t: Fix test reliance on '.' in @INC |
43 |
+ |
44 |
+Fixes https://github.com/adamkennedy/PPI/issues/200 |
45 |
+--- |
46 |
+ t/marpa.t | 3 ++- |
47 |
+ 1 file changed, 2 insertions(+), 1 deletion(-) |
48 |
+ |
49 |
+diff --git a/t/marpa.t b/t/marpa.t |
50 |
+index a25fc2e..6e79003 100644 |
51 |
+--- a/t/marpa.t |
52 |
++++ b/t/marpa.t |
53 |
+@@ -2,7 +2,8 @@ |
54 |
+ |
55 |
+ # Unit testing for PPI::Token::Unknown |
56 |
+ |
57 |
+-use t::lib::PPI::Test::pragmas; |
58 |
++use lib 't/lib'; |
59 |
++use PPI::Test::pragmas; |
60 |
+ use Test::More tests => 23 + ( $ENV{AUTHOR_TESTING} ? 1 : 0 ); |
61 |
+ use B 'perlstring'; |
62 |
+ |
63 |
+-- |
64 |
+2.13.1 |
65 |
+ |
66 |
|
67 |
diff --git a/dev-perl/PPI/metadata.xml b/dev-perl/PPI/metadata.xml |
68 |
index 8f20830635c..b16f7f1afbb 100644 |
69 |
--- a/dev-perl/PPI/metadata.xml |
70 |
+++ b/dev-perl/PPI/metadata.xml |
71 |
@@ -17,7 +17,6 @@ |
72 |
<remote-id type="cpan-module">PPI::Element</remote-id> |
73 |
<remote-id type="cpan-module">PPI::Exception</remote-id> |
74 |
<remote-id type="cpan-module">PPI::Exception::ParserRejection</remote-id> |
75 |
- <remote-id type="cpan-module">PPI::Exception::ParserTimeout</remote-id> |
76 |
<remote-id type="cpan-module">PPI::Find</remote-id> |
77 |
<remote-id type="cpan-module">PPI::Lexer</remote-id> |
78 |
<remote-id type="cpan-module">PPI::Node</remote-id> |