diff options
author | Kent Fredric <kentnl@gentoo.org> | 2018-03-26 17:25:34 +1300 |
---|---|---|
committer | Kent Fredric <kentnl@gentoo.org> | 2018-03-26 17:26:37 +1300 |
commit | 97c46e16b94d1274c0b69624619a3a43972aeeb1 (patch) | |
tree | ddac717811f710b31d35b18bd3830211b435760e /dev-perl/XML-DOM-XPath | |
parent | profiles/arch/mips: Unmask USE=unwind (diff) | |
download | gentoo-97c46e16b94d1274c0b69624619a3a43972aeeb1.tar.gz gentoo-97c46e16b94d1274c0b69624619a3a43972aeeb1.tar.bz2 gentoo-97c46e16b94d1274c0b69624619a3a43972aeeb1.zip |
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
Diffstat (limited to 'dev-perl/XML-DOM-XPath')
-rw-r--r-- | dev-perl/XML-DOM-XPath/XML-DOM-XPath-0.140.0-r2.ebuild | 22 | ||||
-rw-r--r-- | dev-perl/XML-DOM-XPath/files/XML-DOM-XPath-0.14-encoding.patch | 27 | ||||
-rw-r--r-- | 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 000000000000..6b3e2e977e75 --- /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 000000000000..922f51ad490c --- /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 368273ab63d1..39e5f4b72306 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> |