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/XML-LibXSLT/, dev-perl/XML-LibXSLT/files/
Date: Tue, 27 Mar 2018 03:42:52
Message-Id: 1522122144.f9c71bf8b9b3823a4d7500092412bc5831bf664b.kentnl@gentoo
1 commit: f9c71bf8b9b3823a4d7500092412bc5831bf664b
2 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
3 AuthorDate: Tue Mar 27 03:41:54 2018 +0000
4 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 27 03:42:24 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9c71bf8
7
8 dev-perl/XML-LibXSLT: Bump to version 1.960.0
9
10 - Properly fix expanded entities test ( #623192 )
11 - Cleanup author tests
12
13 Upstream:
14 - Cease using $Config{libs}
15
16 Bug: https://bugs.gentoo.org/623192
17 Package-Manager: Portage-2.3.24, Repoman-2.3.6
18
19 dev-perl/XML-LibXSLT/Manifest | 1 +
20 dev-perl/XML-LibXSLT/XML-LibXSLT-1.960.0.ebuild | 31 ++++++++++++++++++++++
21 .../files/XML-LibXSLT-1.96-entityexpandtest.patch | 29 ++++++++++++++++++++
22 3 files changed, 61 insertions(+)
23
24 diff --git a/dev-perl/XML-LibXSLT/Manifest b/dev-perl/XML-LibXSLT/Manifest
25 index 6783923529d..2523ea74bbc 100644
26 --- a/dev-perl/XML-LibXSLT/Manifest
27 +++ b/dev-perl/XML-LibXSLT/Manifest
28 @@ -1,2 +1,3 @@
29 DIST XML-LibXSLT-1.94.tar.gz 114015 BLAKE2B e16cebbfc5e126dc56482845af4f21b70c62ef08eb14bc79f678fca35d418858b33d69adc411836f4d81cdb7dde8fb535b9f4855a947deab60ec1d77a4edd9d5 SHA512 52b3ec6ef0556d9dde8320acbea01fe36e219bc62ed2d9e0cbe2f8f402bfc3f42ca1e28a6e047e69f501982fe4ba40d23fcfbce9399388c9f28a0d8804fc5f73
30 DIST XML-LibXSLT-1.95.tar.gz 114231 BLAKE2B 792ceab8dd2e185c8c3c9a4a6981817ccb667006de588b9a8047eca8c27c63ed73e2aa5629314b723585fa2ca37f468bbacd2ff1d7596e9ca446aca56b412197 SHA512 06a1c9896a391be2588995f25520da05f086b3fa79109884131525a0d76a7b375e0c5a2febf8a79a888f3a9bd25b5eb39064de1baeffafcfe18f5576c9c54e19
31 +DIST XML-LibXSLT-1.96.tar.gz 114068 BLAKE2B 2225e387e9e877578be51a9a6c8c3612490e79c2cec366dd2fdc64710ce67200f5ab7109742197abcdc311f9a1bf16b42a40c7e7df4d669b638de4ee49782866 SHA512 7b6e22889c538bbd861c6420cd56893d229676d3afc1cf30e17cae48a4714139769a99a48a99f1dff52864f4989e410303007c07941625bf6bd12a24276c35e6
32
33 diff --git a/dev-perl/XML-LibXSLT/XML-LibXSLT-1.960.0.ebuild b/dev-perl/XML-LibXSLT/XML-LibXSLT-1.960.0.ebuild
34 new file mode 100644
35 index 00000000000..245d3796b38
36 --- /dev/null
37 +++ b/dev-perl/XML-LibXSLT/XML-LibXSLT-1.960.0.ebuild
38 @@ -0,0 +1,31 @@
39 +# Copyright 1999-2018 Gentoo Foundation
40 +# Distributed under the terms of the GNU General Public License v2
41 +
42 +EAPI=6
43 +
44 +DIST_AUTHOR=SHLOMIF
45 +DIST_VERSION=1.96
46 +inherit perl-module
47 +
48 +DESCRIPTION="A Perl module to parse XSL Transformational sheets using gnome's libXSLT"
49 +
50 +SLOT="0"
51 +KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
52 +IUSE=""
53 +
54 +RDEPEND="
55 + virtual/perl-Encode
56 + >=dev-perl/XML-LibXML-1.700.0
57 + >=dev-libs/libxslt-1.1.28
58 +"
59 +DEPEND="${RDEPEND}
60 + virtual/perl-ExtUtils-MakeMaker
61 + virtual/pkgconfig
62 +"
63 +PERL_RM_FILES=(
64 + "t/cpan-changes.t" "t/pod.t"
65 + "t/style-trailing-space.t"
66 +)
67 +PATCHES=(
68 + "${FILESDIR}/${PN}-1.96-entityexpandtest.patch"
69 +)
70
71 diff --git a/dev-perl/XML-LibXSLT/files/XML-LibXSLT-1.96-entityexpandtest.patch b/dev-perl/XML-LibXSLT/files/XML-LibXSLT-1.96-entityexpandtest.patch
72 new file mode 100644
73 index 00000000000..3826ba5dc5d
74 --- /dev/null
75 +++ b/dev-perl/XML-LibXSLT/files/XML-LibXSLT-1.96-entityexpandtest.patch
76 @@ -0,0 +1,29 @@
77 +From a70778f1e263bce11b8749353a7a6a99e3f721fb Mon Sep 17 00:00:00 2001
78 +From: Kent Fredric <kentnl@g.o>
79 +Date: Tue, 27 Mar 2018 16:00:45 +1300
80 +Subject: Force entity expansion
81 +
82 +Gentoo's XML::LibXML does not expand entities on its own by default
83 +and has to be configured to do so.
84 +
85 +Bug: https://bugs.gentoo.org/623192
86 +---
87 + t/06entities.t | 2 +-
88 + 1 file changed, 1 insertion(+), 1 deletion(-)
89 +
90 +diff --git a/t/06entities.t b/t/06entities.t
91 +index 32bc395..3d5e791 100644
92 +--- a/t/06entities.t
93 ++++ b/t/06entities.t
94 +@@ -9,7 +9,7 @@ use XML::LibXSLT;
95 + my $parser = XML::LibXML->new();
96 + my $xslt = XML::LibXSLT->new();
97 +
98 +-# $parser->expand_entities(1);
99 ++$parser->expand_entities(1);
100 +
101 + my $source = $parser->parse_string(qq{<?xml version="1.0" encoding="UTF-8"?>
102 + <root>foo</root>});
103 +--
104 +2.16.2
105 +