Gentoo Archives: gentoo-commits

From: "Andreas K. Hüttel" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/XML-LibXML/
Date: Sun, 03 Oct 2021 22:48:02
Message-Id: 1633301242.554b49faf2cf8190de2ee64451799d79c95066e0.dilfridge@gentoo
1 commit: 554b49faf2cf8190de2ee64451799d79c95066e0
2 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 3 22:28:20 2021 +0000
4 Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 3 22:47:22 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=554b49fa
7
8 dev-perl/XML-LibXML: Remove old
9
10 Package-Manager: Portage-3.0.26, Repoman-3.0.3
11 Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
12
13 dev-perl/XML-LibXML/Manifest | 1 -
14 dev-perl/XML-LibXML/XML-LibXML-2.13.200.ebuild | 70 --------------------------
15 2 files changed, 71 deletions(-)
16
17 diff --git a/dev-perl/XML-LibXML/Manifest b/dev-perl/XML-LibXML/Manifest
18 index 375054bc02f..d8e1947e045 100644
19 --- a/dev-perl/XML-LibXML/Manifest
20 +++ b/dev-perl/XML-LibXML/Manifest
21 @@ -1,2 +1 @@
22 -DIST XML-LibXML-2.0132.tar.gz 469983 BLAKE2B 66002c35adc1156af76f16af2a1b4617ef25470cb434ee73dd9242fdc37a20d5d417ce5003ca202f69de08e053705129c083e65d483ae7e85375ae2ad6cbedc5 SHA512 3df1cb67ea955133492f2b6f8def2b28079c59e99170a31820aca69ea81686c4b67171509f1b311faab9389d200c4a24942b3950d7c0730ff1233a009b398fce
23 DIST XML-LibXML-2.0201.tar.gz 462237 BLAKE2B 17313daca3e87b12f0d3161f628dbd5ee3fbd233747a9602b275e13f14e9710eba424804b1f57b40c2f0f340d1c29ca0518ffc395b808b0e9851c61943d73b22 SHA512 988bc98e7f3e426202b9770ef055df68abc861b935dcdd8ecbefaaa7cd528abc35cce9bd75f2f10412917178f6b74ac6bf953feac130b1f9afe9e18c16139e47
24
25 diff --git a/dev-perl/XML-LibXML/XML-LibXML-2.13.200.ebuild b/dev-perl/XML-LibXML/XML-LibXML-2.13.200.ebuild
26 deleted file mode 100644
27 index f147c47d362..00000000000
28 --- a/dev-perl/XML-LibXML/XML-LibXML-2.13.200.ebuild
29 +++ /dev/null
30 @@ -1,70 +0,0 @@
31 -# Copyright 1999-2021 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=6
35 -
36 -DIST_AUTHOR=SHLOMIF
37 -DIST_VERSION=2.0132
38 -DIST_EXAMPLES=("example/*")
39 -inherit perl-module
40 -
41 -DESCRIPTION="Perl binding for libxml2"
42 -
43 -SLOT="0"
44 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
45 -IUSE="test minimal"
46 -RESTRICT="!test? ( test )"
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 -PATCHES=(
64 - "${FILESDIR}/${PN}-2.12.800-disable-expanding.patch"
65 -)
66 -
67 -PERL_RM_FILES=(
68 - "t/cpan-changes.t" "t/pod-files-presence.t" "t/pod.t"
69 - "t/release-kwalitee.t" "t/style-trailing-space.t"
70 -)
71 -
72 -src_compile() {
73 - export SKIP_SAX_INSTALL=1
74 - perl-module_src_compile
75 -}
76 -
77 -pkg_postinst() {
78 - pkg_update_parser add XML::LibXML::SAX::Parser
79 - pkg_update_parser add XML::LibXML::SAX
80 -}
81 -
82 -pkg_postrm() {
83 - pkg_update_parser remove XML::LibXML::SAX::Parser
84 - pkg_update_parser remove XML::LibXML::SAX
85 -}
86 -
87 -pkg_update_parser() {
88 - # pkg_update_parser [add|remove] $parser_module
89 - local action=$1
90 - local parser_module=$2
91 -
92 - if [[ "$ROOT" = "/" ]] ; then
93 - einfo "Update Parser: $1 $2"
94 - perl -MXML::SAX -e "XML::SAX->${action}_parser(q(${parser_module}))->save_parsers()" \
95 - || ewarn "Update Parser: $1 $2 failed"
96 - else
97 - elog "To $1 $2 run:"
98 - elog "perl -MXML::SAX -e 'XML::SAX->${action}_parser(q(${parser_module}))->save_parsers()'"
99 - fi
100 -}