public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/XML-LibXML/
Date: Wed, 10 May 2023 21:25:50 +0000 (UTC)	[thread overview]
Message-ID: <1683753938.b1fc00d8dffc816030ec995461ab5fc8fa256af7.sam@gentoo> (raw)

commit:     b1fc00d8dffc816030ec995461ab5fc8fa256af7
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed May 10 21:24:07 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed May 10 21:25:38 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1fc00d8

dev-perl/XML-LibXML: add 2.20.800

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-perl/XML-LibXML/Manifest                   |  1 +
 dev-perl/XML-LibXML/XML-LibXML-2.20.800.ebuild | 79 ++++++++++++++++++++++++++
 2 files changed, 80 insertions(+)

diff --git a/dev-perl/XML-LibXML/Manifest b/dev-perl/XML-LibXML/Manifest
index 1f88619f93d8..6a8cb0cf4fe5 100644
--- a/dev-perl/XML-LibXML/Manifest
+++ b/dev-perl/XML-LibXML/Manifest
@@ -1 +1,2 @@
 DIST XML-LibXML-2.0207.tar.gz 462595 BLAKE2B 9ebb4786dcd45f552ef31ba0854693e876b6f8098b577401429651e5eb55792bb623185db371d2578432c00031ce2cfb66603e08290d7cf8f74dee5fe45c143d SHA512 86bf4200c800e1295161c3217892398dbc65e107ad1a3df8ea7f237350ba67d88ad7b18ab7123e647053a8721bc13a8959ddb101fdc6de18dcaef02c0f0f5b58
+DIST XML-LibXML-2.0208.tar.gz 465763 BLAKE2B df3e1c917c4b6aec49650668dca8a9db3f83e9060ab7795495ef4b505f8970d11294c687df9805b55db4f81a5b81121b463ee6258bbe6106f63d20b6a901b5b2 SHA512 b8407359b9111b43247cc57b6e9e54c4e99402c9b7e939e49beb752be8fd1ce0e31a98e07dd5d1f7eaa7e37aae25571c38a14792f9e5a64c1533a0387c71423d

diff --git a/dev-perl/XML-LibXML/XML-LibXML-2.20.800.ebuild b/dev-perl/XML-LibXML/XML-LibXML-2.20.800.ebuild
new file mode 100644
index 000000000000..f71e542ae1ff
--- /dev/null
+++ b/dev-perl/XML-LibXML/XML-LibXML-2.20.800.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DIST_AUTHOR=SHLOMIF
+DIST_VERSION=2.0208
+DIST_EXAMPLES=("example/*")
+inherit perl-module
+
+DESCRIPTION="Perl binding for libxml2"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
+IUSE="minimal"
+
+# >= on XML-Sax needed to avoid "miscompilation" (essentially empty install), as newer XML-Sax
+# has the ROOT check fixed. Didn't happen with XML-SAX-Expat, but best to be careful.
+# bug #840053
+RDEPEND="
+	virtual/perl-Carp
+	virtual/perl-Encode
+	>=virtual/perl-Exporter-5.570.0
+	virtual/perl-IO
+	virtual/perl-Scalar-List-Utils
+	>=dev-perl/XML-NamespaceSupport-1.70.0
+	>=dev-perl/XML-SAX-1.20.0-r1
+	dev-perl/XML-SAX-Base
+	>=dev-libs/libxml2-2.6.21:2=
+	virtual/perl-parent
+"
+BDEPEND="${RDEPEND}
+	virtual/perl-ExtUtils-MakeMaker
+	dev-perl/Alien-Build
+	>=dev-perl/Alien-Libxml2-0.140.0
+	test? (
+		!minimal? (
+			dev-perl/Test-LeakTrace
+		)
+	)
+"
+DEPEND=">=dev-libs/libxml2-2.6.21:2=
+"
+
+PERL_RM_FILES=(
+	"t/cpan-changes.t" "t/pod-files-presence.t" "t/pod.t"
+	"t/release-kwalitee.t" "t/style-trailing-space.t"
+	"t/11memory.t"
+)
+
+src_compile() {
+	export SKIP_SAX_INSTALL=1
+	perl-module_src_compile
+}
+
+pkg_postinst() {
+	pkg_update_parser add XML::LibXML::SAX::Parser
+	pkg_update_parser add XML::LibXML::SAX
+}
+
+pkg_postrm() {
+	pkg_update_parser remove XML::LibXML::SAX::Parser
+	pkg_update_parser remove XML::LibXML::SAX
+}
+
+pkg_update_parser() {
+	# pkg_update_parser [add|remove] $parser_module
+	local action=$1
+	local parser_module=$2
+
+	if [[ -z "${ROOT}" ]] ; then
+		einfo "Update Parser: $1 $2"
+		perl -MXML::SAX -e "XML::SAX->${action}_parser(q(${parser_module}))->save_parsers()" \
+			|| ewarn "Update Parser: $1 $2 failed"
+	else
+		elog "To $1 $2 run:"
+		elog "perl -MXML::SAX -e 'XML::SAX->${action}_parser(q(${parser_module}))->save_parsers()'"
+	fi
+}


             reply	other threads:[~2023-05-10 21:25 UTC|newest]

Thread overview: 93+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-10 21:25 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-14  0:43 [gentoo-commits] repo/gentoo:master commit in: dev-perl/XML-LibXML/ Sam James
2024-06-09 21:18 Sam James
2024-06-09 20:41 Sam James
2024-04-29  9:56 Andreas K. Hüttel
2023-12-01  3:30 Sam James
2023-09-28  0:21 Sam James
2023-08-19 15:37 Arthur Zamarin
2023-08-19  7:23 Sam James
2023-08-19  6:07 Sam James
2023-08-19  6:01 Sam James
2023-08-19  6:01 Sam James
2023-08-19  6:01 Sam James
2023-07-15  7:20 Sam James
2023-06-18 16:51 Arthur Zamarin
2023-06-17 19:44 Arthur Zamarin
2023-06-17 10:42 Arthur Zamarin
2023-06-17 10:42 Arthur Zamarin
2023-06-17  9:03 Arthur Zamarin
2023-06-17  7:43 Arthur Zamarin
2023-06-17  6:12 Sam James
2023-06-17  5:57 Sam James
2023-06-11  4:11 Arthur Zamarin
2023-06-10 21:02 Sam James
2023-06-10 19:29 Sam James
2023-06-10 19:29 Sam James
2023-06-10 19:26 Sam James
2023-06-10 19:26 Sam James
2023-06-10 19:26 Sam James
2023-06-10 19:26 Sam James
2023-05-10 22:07 Sam James
2022-08-28  5:06 WANG Xuerui
2022-04-22 17:51 Sam James
2022-04-22 17:36 Sam James
2021-12-11 15:52 Andreas K. Hüttel
2021-12-09 21:59 Sam James
2021-12-06  0:13 Sam James
2021-12-05 20:12 Arthur Zamarin
2021-12-05 18:32 Sam James
2021-12-05  5:09 Sam James
2021-12-05  5:00 Sam James
2021-12-05  3:31 Sam James
2021-10-03 22:47 Andreas K. Hüttel
2021-10-03 22:47 Andreas K. Hüttel
2020-11-28  9:32 Sam James
2020-07-21 19:54 Kent Fredric
2020-07-06  2:51 Matt Turner
2020-04-15  7:08 Agostino Sarubbo
2020-04-14 15:45 Agostino Sarubbo
2020-04-14 14:06 Agostino Sarubbo
2020-04-14 14:03 Agostino Sarubbo
2020-04-14 12:59 Agostino Sarubbo
2020-04-12 18:27 Sergei Trofimovich
2020-04-12 11:39 Mart Raudsepp
2020-04-12  9:34 Sergei Trofimovich
2020-01-14 19:57 Sergei Trofimovich
2019-12-25 20:45 Sergei Trofimovich
2019-12-25 20:32 Sergei Trofimovich
2019-10-11  6:04 Andreas K. Hüttel
2019-09-11  3:28 Matt Turner
2019-07-23 22:35 Aaron Bauman
2019-07-22 13:58 Mikle Kolyada
2019-07-22 13:58 Mikle Kolyada
2019-07-20  9:55 Sergei Trofimovich
2019-07-19 18:34 Matt Turner
2019-07-19  7:49 Mikle Kolyada
2019-07-17 11:21 Kent Fredric
2019-05-05 19:31 Mikle Kolyada
2018-10-27 19:50 Fabian Groffen
2018-06-28 14:37 Mikle Kolyada
2018-06-26 15:48 Mikle Kolyada
2018-06-19 17:29 Tobias Klausmann
2018-06-09 10:06 Sergei Trofimovich
2018-06-06 23:23 Thomas Deutschmann
2018-06-03 16:54 Mikle Kolyada
2018-06-02 19:11 Mart Raudsepp
2018-06-02 17:51 Sergei Trofimovich
2018-03-24  8:27 Kent Fredric
2017-06-05 11:14 Kent Fredric
2017-06-05  8:25 Sergei Trofimovich
2017-03-24 11:01 Kent Fredric
2017-03-17 10:42 Agostino Sarubbo
2017-03-14 16:25 Jeroen Roovers
2017-03-13 12:58 Agostino Sarubbo
2017-03-12  0:21 Michael Weber
2017-02-22 17:55 Markus Meier
2017-02-22 17:53 Markus Meier
2017-01-29 16:59 Fabian Groffen
2016-11-05  7:21 Patrice Clement
2016-09-24 18:58 Andreas Hüttel
2016-09-24 18:58 Andreas Hüttel
2016-08-04  5:54 Kent Fredric
2016-07-11  6:31 Kent Fredric

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1683753938.b1fc00d8dffc816030ec995461ab5fc8fa256af7.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox