1 |
commit: 99e566007caffe5fa0a8b0a666572104aa6a78c4 |
2 |
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Mar 24 08:26:23 2018 +0000 |
4 |
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 24 08:26:42 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99e56600 |
7 |
|
8 |
dev-perl/XML-LibXML: Bump to version 2.13.200 |
9 |
|
10 |
- Cleanup more author tests |
11 |
|
12 |
Upstream: |
13 |
- Fix test failures w/ libxml2-2.9.6 |
14 |
- Fix bug in Node::replaceChild() |
15 |
|
16 |
Bug: https://bugs.gentoo.org/635318 |
17 |
Bug: https://bugs.gentoo.org/630934 |
18 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
19 |
|
20 |
dev-perl/XML-LibXML/Manifest | 1 + |
21 |
dev-perl/XML-LibXML/XML-LibXML-2.13.200.ebuild | 69 ++++++++++++++++++++++++++ |
22 |
2 files changed, 70 insertions(+) |
23 |
|
24 |
diff --git a/dev-perl/XML-LibXML/Manifest b/dev-perl/XML-LibXML/Manifest |
25 |
index 905b3ccc9d3..cb017423555 100644 |
26 |
--- a/dev-perl/XML-LibXML/Manifest |
27 |
+++ b/dev-perl/XML-LibXML/Manifest |
28 |
@@ -1,2 +1,3 @@ |
29 |
DIST XML-LibXML-2.0128.tar.gz 466334 BLAKE2B 7b7de24ed9cbafde79061e70247ed715e6009acf9d0ef75cc08d838d51c7b736ee7f4e57f069b1112c171ac398c28745082760f8e1d892834ab0c811c8a09e57 SHA512 c388570d0a140f3b92ab9922d9c917fba791e804b160822eeff91923891059ba189ad3743f2ffd13f7f4c92a3e8db1ee5fae588007d3fcf50251d9803e8e261b |
30 |
DIST XML-LibXML-2.0129.tar.gz 468838 BLAKE2B dce86bff8d4fcc87d5fc1e957ec7f89586ba8b34fd826680267995912ac54b1460850a22ea572a55d441fdb5719f8fbe6070b0d64f39f3e4fac9a5252ffd4396 SHA512 f17c61052975ecc188c285ee93dbb07926c880a28e49afdd5af0c7c997e8b12be72412d0964391f1232f853935ee0ff2838cd5d62f8f3b4f52c341904069ccea |
31 |
+DIST XML-LibXML-2.0132.tar.gz 469983 BLAKE2B 66002c35adc1156af76f16af2a1b4617ef25470cb434ee73dd9242fdc37a20d5d417ce5003ca202f69de08e053705129c083e65d483ae7e85375ae2ad6cbedc5 SHA512 3df1cb67ea955133492f2b6f8def2b28079c59e99170a31820aca69ea81686c4b67171509f1b311faab9389d200c4a24942b3950d7c0730ff1233a009b398fce |
32 |
|
33 |
diff --git a/dev-perl/XML-LibXML/XML-LibXML-2.13.200.ebuild b/dev-perl/XML-LibXML/XML-LibXML-2.13.200.ebuild |
34 |
new file mode 100644 |
35 |
index 00000000000..16f1942eb20 |
36 |
--- /dev/null |
37 |
+++ b/dev-perl/XML-LibXML/XML-LibXML-2.13.200.ebuild |
38 |
@@ -0,0 +1,69 @@ |
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=2.0132 |
46 |
+DIST_EXAMPLES=("example/*") |
47 |
+inherit perl-module |
48 |
+ |
49 |
+DESCRIPTION="Perl binding for libxml2" |
50 |
+ |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
53 |
+IUSE="test minimal" |
54 |
+ |
55 |
+RDEPEND=" |
56 |
+ >=dev-perl/XML-SAX-0.120.0 |
57 |
+ >=dev-libs/libxml2-2.6.21 |
58 |
+ dev-perl/XML-SAX-Base |
59 |
+ >=dev-perl/XML-NamespaceSupport-1.70.0 |
60 |
+" |
61 |
+DEPEND="${RDEPEND} |
62 |
+ virtual/perl-ExtUtils-MakeMaker |
63 |
+ test? ( |
64 |
+ !minimal? ( |
65 |
+ dev-perl/Test-LeakTrace |
66 |
+ ) |
67 |
+ ) |
68 |
+" |
69 |
+ |
70 |
+PATCHES=( |
71 |
+ "${FILESDIR}/${PN}-2.12.800-disable-expanding.patch" |
72 |
+) |
73 |
+ |
74 |
+PERL_RM_FILES=( |
75 |
+ "t/cpan-changes.t" "t/pod-files-presence.t" "t/pod.t" |
76 |
+ "t/release-kwalitee.t" "t/style-trailing-space.t" |
77 |
+) |
78 |
+ |
79 |
+src_compile() { |
80 |
+ export SKIP_SAX_INSTALL=1 |
81 |
+ perl-module_src_compile |
82 |
+} |
83 |
+ |
84 |
+pkg_postinst() { |
85 |
+ pkg_update_parser add XML::LibXML::SAX::Parser |
86 |
+ pkg_update_parser add XML::LibXML::SAX |
87 |
+} |
88 |
+ |
89 |
+pkg_postrm() { |
90 |
+ pkg_update_parser remove XML::LibXML::SAX::Parser |
91 |
+ pkg_update_parser remove XML::LibXML::SAX |
92 |
+} |
93 |
+ |
94 |
+pkg_update_parser() { |
95 |
+ # pkg_update_parser [add|remove] $parser_module |
96 |
+ local action=$1 |
97 |
+ local parser_module=$2 |
98 |
+ |
99 |
+ if [[ "$ROOT" = "/" ]] ; then |
100 |
+ einfo "Update Parser: $1 $2" |
101 |
+ perl -MXML::SAX -e "XML::SAX->${action}_parser(q(${parser_module}))->save_parsers()" \ |
102 |
+ || ewarn "Update Parser: $1 $2 failed" |
103 |
+ else |
104 |
+ elog "To $1 $2 run:" |
105 |
+ elog "perl -MXML::SAX -e 'XML::SAX->${action}_parser(q(${parser_module}))->save_parsers()'" |
106 |
+ fi |
107 |
+} |