* [gentoo-commits] repo/gentoo:master commit in: dev-perl/XML-DOM-XPath/files/, dev-perl/XML-DOM-XPath/
@ 2018-03-26 4:26 Kent Fredric
0 siblings, 0 replies; only message in thread
From: Kent Fredric @ 2018-03-26 4:26 UTC (permalink / raw
To: gentoo-commits
commit: 97c46e16b94d1274c0b69624619a3a43972aeeb1
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 26 04:25:34 2018 +0000
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Mon Mar 26 04:26:37 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97c46e16
dev-perl/XML-DOM-XPath: Fix encoding.pm tests failing bug #623188
Bug: https://bugs.gentoo.org/623188
Package-Manager: Portage-2.3.24, Repoman-2.3.6
.../XML-DOM-XPath/XML-DOM-XPath-0.140.0-r2.ebuild | 22 ++++++++++++++++++
.../files/XML-DOM-XPath-0.14-encoding.patch | 27 ++++++++++++++++++++++
dev-perl/XML-DOM-XPath/metadata.xml | 7 ------
3 files changed, 49 insertions(+), 7 deletions(-)
diff --git a/dev-perl/XML-DOM-XPath/XML-DOM-XPath-0.140.0-r2.ebuild b/dev-perl/XML-DOM-XPath/XML-DOM-XPath-0.140.0-r2.ebuild
new file mode 100644
index 00000000000..6b3e2e977e7
--- /dev/null
+++ b/dev-perl/XML-DOM-XPath/XML-DOM-XPath-0.140.0-r2.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=MIROD
+DIST_VERSION=0.14
+inherit perl-module
+
+DESCRIPTION="Perl extension to add XPath support to XML::DOM, using XML::XPath engine"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="dev-perl/XML-DOM
+ dev-perl/XML-XPathEngine"
+DEPEND="${RDEPEND}
+ test? ( virtual/perl-Test-Simple )
+"
+PERL_RM_FILES=("t/pod.t" "t/pod_coverage.t")
+PATCHES=("${FILESDIR}/${PN}-0.14-encoding.patch")
diff --git a/dev-perl/XML-DOM-XPath/files/XML-DOM-XPath-0.14-encoding.patch b/dev-perl/XML-DOM-XPath/files/XML-DOM-XPath-0.14-encoding.patch
new file mode 100644
index 00000000000..922f51ad490
--- /dev/null
+++ b/dev-perl/XML-DOM-XPath/files/XML-DOM-XPath-0.14-encoding.patch
@@ -0,0 +1,27 @@
+From 1b247ffafb3362b5a1c727f993c63818e827aa12 Mon Sep 17 00:00:00 2001
+From: Father Chrysostomos <sprout@cpan.org>
+Date: Thu, 14 Jul 2016 22:05:56 -0700
+Subject: Fix removal of encoding.pm in 5.25.3+
+
+Bug: https://rt.cpan.org/Ticket/Display.html?id=115098
+Bug: https://bugs.gentoo.org/623188
+---
+ t/test_non_ascii.t | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/t/test_non_ascii.t b/t/test_non_ascii.t
+index d8686f8..7aea5ee 100644
+--- a/t/test_non_ascii.t
++++ b/t/test_non_ascii.t
+@@ -7,7 +7,7 @@ use strict;
+ use Test::More tests => 10;
+ use XML::DOM::XPath;
+
+-use encoding 'utf8';
++use utf8;
+
+ my $display_warning=0;
+
+--
+2.16.2
+
diff --git a/dev-perl/XML-DOM-XPath/metadata.xml b/dev-perl/XML-DOM-XPath/metadata.xml
index 368273ab63d..39e5f4b7230 100644
--- a/dev-perl/XML-DOM-XPath/metadata.xml
+++ b/dev-perl/XML-DOM-XPath/metadata.xml
@@ -11,14 +11,7 @@
</maintainer>
<upstream>
<remote-id type="cpan">XML-DOM-XPath</remote-id>
- <remote-id type="cpan-module">XML::DOM::Attr</remote-id>
- <remote-id type="cpan-module">XML::DOM::Comment</remote-id>
- <remote-id type="cpan-module">XML::DOM::Document</remote-id>
- <remote-id type="cpan-module">XML::DOM::Element</remote-id>
<remote-id type="cpan-module">XML::DOM::Namespace</remote-id>
- <remote-id type="cpan-module">XML::DOM::Node</remote-id>
- <remote-id type="cpan-module">XML::DOM::ProcessingInstruction</remote-id>
- <remote-id type="cpan-module">XML::DOM::Text</remote-id>
<remote-id type="cpan-module">XML::DOM::XPath</remote-id>
</upstream>
</pkgmetadata>
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-03-26 4:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-26 4:26 [gentoo-commits] repo/gentoo:master commit in: dev-perl/XML-DOM-XPath/files/, dev-perl/XML-DOM-XPath/ Kent Fredric
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox