From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 14F1A139694 for ; Fri, 24 Mar 2017 11:01:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 17A7421C039; Fri, 24 Mar 2017 11:01:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CDCAA21C039 for ; Fri, 24 Mar 2017 11:01:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 40D88341659 for ; Fri, 24 Mar 2017 11:01:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AA5F9733C for ; Fri, 24 Mar 2017 11:01:49 +0000 (UTC) From: "Kent Fredric" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Kent Fredric" Message-ID: <1490353280.e2c9a3edc904b887c3599b3fc9f481ca23be5ee6.kentnl@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/XML-LibXML/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-perl/XML-LibXML/Manifest dev-perl/XML-LibXML/XML-LibXML-2.12.900.ebuild X-VCS-Directories: dev-perl/XML-LibXML/ X-VCS-Committer: kentnl X-VCS-Committer-Name: Kent Fredric X-VCS-Revision: e2c9a3edc904b887c3599b3fc9f481ca23be5ee6 X-VCS-Branch: master Date: Fri, 24 Mar 2017 11:01:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: c6f99738-0b7f-4688-9130-6ae37951b75f X-Archives-Hash: 4cd467e92be1f61c9faace7458c82706 commit: e2c9a3edc904b887c3599b3fc9f481ca23be5ee6 Author: Kent Fredric gentoo org> AuthorDate: Fri Mar 24 11:01:20 2017 +0000 Commit: Kent Fredric gentoo org> CommitDate: Fri Mar 24 11:01:20 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2c9a3ed dev-perl/XML-LibXML: Bump to version 2.12.900 Upstream: - Add SAX method set_document_locator support - Speed up parsing of large perl strings Package-Manager: Portage-2.3.4, Repoman-2.3.2 dev-perl/XML-LibXML/Manifest | 1 + dev-perl/XML-LibXML/XML-LibXML-2.12.900.ebuild | 69 ++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) diff --git a/dev-perl/XML-LibXML/Manifest b/dev-perl/XML-LibXML/Manifest index f2acc7cc10d..833fcc30c09 100644 --- a/dev-perl/XML-LibXML/Manifest +++ b/dev-perl/XML-LibXML/Manifest @@ -1,3 +1,4 @@ DIST XML-LibXML-2.0121.tar.gz 464562 SHA256 ec431011cb37a04640fd2316f64d0405a274eece2c6f3847f7fbd336eb1c0dc9 SHA512 1833d1e14d8a3b361bcacde910807a56e21cd08204f3fa58888a8c9219bd9228bfdc211af8f74b91ceda3135b4e72cbc60ef1d783afbe0febd100117904f29f1 WHIRLPOOL 8168fcb40e9cfd7d9802f443124a1a38419b5e74b5560b95cfb66f4bc37110a2ac11515b365c4c90bd6007cb5a98c0045bc460566e7f52f758958019953411fe DIST XML-LibXML-2.0126.tar.gz 465800 SHA256 0e735ab72e2ba77070a58a737fd6c61fa6aa198527abc59a5d5627f0650a60af SHA512 b7e5cfdf299c6eabbecacf3a8b5192439b251aa15304a08296481daae2ff01f4d2fab74c38b42c2c63a2fa9f485d287a72ea06ebc58e679ac39cf6544f3cf60c WHIRLPOOL 341b49339342abdf93df0d7dd322b0209bd9a3fca2ffdfdb8e51055d1adab5093f221deaf43330668d17b4795a6c65e029e6bc51bda34184dd91f28e723d7de9 DIST XML-LibXML-2.0128.tar.gz 466334 SHA256 26e7ba451f3bade4d29ff00653a2ee01d13fe38b9a2ebcd0b0f3f82f9f688f2b SHA512 c388570d0a140f3b92ab9922d9c917fba791e804b160822eeff91923891059ba189ad3743f2ffd13f7f4c92a3e8db1ee5fae588007d3fcf50251d9803e8e261b WHIRLPOOL d5aa29ca1254e6c94b8b765c2d0f05ebfaef30c3f67c7d5f4ee0f6c08619627cb98590f915ec115e28898bc44f7cd675a3c5a3f7abe827ec2d57baa5c76734d2 +DIST XML-LibXML-2.0129.tar.gz 468838 SHA256 5ca0269ba06800c84061a7f3333c85fab5584d69cd7b4e0641963da7fd36b366 SHA512 f17c61052975ecc188c285ee93dbb07926c880a28e49afdd5af0c7c997e8b12be72412d0964391f1232f853935ee0ff2838cd5d62f8f3b4f52c341904069ccea WHIRLPOOL 505bb1206f87524bc7162fb5be14f8f982cd75007d0540a0bbcb78b48affe60ed4ee786257dc5c78c9bbcdba63d466ea4f7e5ace6d37d1057c253248a42788a9 diff --git a/dev-perl/XML-LibXML/XML-LibXML-2.12.900.ebuild b/dev-perl/XML-LibXML/XML-LibXML-2.12.900.ebuild new file mode 100644 index 00000000000..1d411d0f9bb --- /dev/null +++ b/dev-perl/XML-LibXML/XML-LibXML-2.12.900.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DIST_AUTHOR=SHLOMIF +DIST_VERSION=2.0129 +DIST_EXAMPLES=("example/*") +inherit perl-module + +DESCRIPTION="Perl binding for libxml2" + +SLOT="0" +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" +IUSE="test minimal" + +RDEPEND=" + >=dev-perl/XML-SAX-0.120.0 + >=dev-libs/libxml2-2.6.21 + dev-perl/XML-SAX-Base + >=dev-perl/XML-NamespaceSupport-1.70.0 +" +DEPEND="${RDEPEND} + virtual/perl-ExtUtils-MakeMaker + test? ( + !minimal? ( + dev-perl/Test-LeakTrace + ) + ) +" + +PATCHES=( + "${FILESDIR}/${PN}-2.12.800-disable-expanding.patch" +) + +src_compile() { + export SKIP_SAX_INSTALL=1 + perl-module_src_compile +} + +src_test() { + perl_rm_files t/pod.t t/style-trailing-space.t t/cpan-changes.t + perl-module_src_test +} + +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 [[ "$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 +}