1 |
commit: 24553e5cb7dc973b1a7d90364bd821450a276af2 |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 24 18:40:22 2016 +0000 |
4 |
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 24 18:58:06 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24553e5c |
7 |
|
8 |
dev-perl/XML-LibXML: Version bump |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
dev-perl/XML-LibXML/Manifest | 1 + |
13 |
dev-perl/XML-LibXML/XML-LibXML-2.12.800.ebuild | 66 ++++++++++++++++++++++++++ |
14 |
2 files changed, 67 insertions(+) |
15 |
|
16 |
diff --git a/dev-perl/XML-LibXML/Manifest b/dev-perl/XML-LibXML/Manifest |
17 |
index 7dbe0a6..f2acc7c 100644 |
18 |
--- a/dev-perl/XML-LibXML/Manifest |
19 |
+++ b/dev-perl/XML-LibXML/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST XML-LibXML-2.0121.tar.gz 464562 SHA256 ec431011cb37a04640fd2316f64d0405a274eece2c6f3847f7fbd336eb1c0dc9 SHA512 1833d1e14d8a3b361bcacde910807a56e21cd08204f3fa58888a8c9219bd9228bfdc211af8f74b91ceda3135b4e72cbc60ef1d783afbe0febd100117904f29f1 WHIRLPOOL 8168fcb40e9cfd7d9802f443124a1a38419b5e74b5560b95cfb66f4bc37110a2ac11515b365c4c90bd6007cb5a98c0045bc460566e7f52f758958019953411fe |
22 |
DIST XML-LibXML-2.0126.tar.gz 465800 SHA256 0e735ab72e2ba77070a58a737fd6c61fa6aa198527abc59a5d5627f0650a60af SHA512 b7e5cfdf299c6eabbecacf3a8b5192439b251aa15304a08296481daae2ff01f4d2fab74c38b42c2c63a2fa9f485d287a72ea06ebc58e679ac39cf6544f3cf60c WHIRLPOOL 341b49339342abdf93df0d7dd322b0209bd9a3fca2ffdfdb8e51055d1adab5093f221deaf43330668d17b4795a6c65e029e6bc51bda34184dd91f28e723d7de9 |
23 |
+DIST XML-LibXML-2.0128.tar.gz 466334 SHA256 26e7ba451f3bade4d29ff00653a2ee01d13fe38b9a2ebcd0b0f3f82f9f688f2b SHA512 c388570d0a140f3b92ab9922d9c917fba791e804b160822eeff91923891059ba189ad3743f2ffd13f7f4c92a3e8db1ee5fae588007d3fcf50251d9803e8e261b WHIRLPOOL d5aa29ca1254e6c94b8b765c2d0f05ebfaef30c3f67c7d5f4ee0f6c08619627cb98590f915ec115e28898bc44f7cd675a3c5a3f7abe827ec2d57baa5c76734d2 |
24 |
|
25 |
diff --git a/dev-perl/XML-LibXML/XML-LibXML-2.12.800.ebuild b/dev-perl/XML-LibXML/XML-LibXML-2.12.800.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000..8299b27 |
28 |
--- /dev/null |
29 |
+++ b/dev-perl/XML-LibXML/XML-LibXML-2.12.800.ebuild |
30 |
@@ -0,0 +1,66 @@ |
31 |
+# Copyright 1999-2016 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+# $Id$ |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+DIST_AUTHOR=SHLOMIF |
38 |
+DIST_VERSION=2.0128 |
39 |
+DIST_EXAMPLES=("example/*") |
40 |
+inherit perl-module |
41 |
+ |
42 |
+DESCRIPTION="Perl binding for libxml2" |
43 |
+ |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
46 |
+IUSE="test minimal" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ >=dev-perl/XML-SAX-0.120.0 |
50 |
+ >=dev-libs/libxml2-2.6.21 |
51 |
+ dev-perl/XML-SAX-Base |
52 |
+ >=dev-perl/XML-NamespaceSupport-1.70.0 |
53 |
+" |
54 |
+DEPEND="${RDEPEND} |
55 |
+ virtual/perl-ExtUtils-MakeMaker |
56 |
+ test? ( |
57 |
+ !minimal? ( |
58 |
+ dev-perl/Test-LeakTrace |
59 |
+ ) |
60 |
+ ) |
61 |
+" |
62 |
+ |
63 |
+src_compile() { |
64 |
+ export SKIP_SAX_INSTALL=1 |
65 |
+ perl-module_src_compile |
66 |
+} |
67 |
+ |
68 |
+src_test() { |
69 |
+ perl_rm_files t/pod.t t/style-trailing-space.t t/cpan-changes.t |
70 |
+ perl-module_src_test |
71 |
+} |
72 |
+ |
73 |
+pkg_postinst() { |
74 |
+ pkg_update_parser add XML::LibXML::SAX::Parser |
75 |
+ pkg_update_parser add XML::LibXML::SAX |
76 |
+} |
77 |
+ |
78 |
+pkg_postrm() { |
79 |
+ pkg_update_parser remove XML::LibXML::SAX::Parser |
80 |
+ pkg_update_parser remove XML::LibXML::SAX |
81 |
+} |
82 |
+ |
83 |
+pkg_update_parser() { |
84 |
+ # pkg_update_parser [add|remove] $parser_module |
85 |
+ local action=$1 |
86 |
+ local parser_module=$2 |
87 |
+ |
88 |
+ if [[ "$ROOT" = "/" ]] ; then |
89 |
+ einfo "Update Parser: $1 $2" |
90 |
+ perl -MXML::SAX -e "XML::SAX->${action}_parser(q(${parser_module}))->save_parsers()" \ |
91 |
+ || ewarn "Update Parser: $1 $2 failed" |
92 |
+ else |
93 |
+ elog "To $1 $2 run:" |
94 |
+ elog "perl -MXML::SAX -e 'XML::SAX->${action}_parser(q(${parser_module}))->save_parsers()'" |
95 |
+ fi |
96 |
+} |