Skip to content

Commit

Permalink
dev-perl/XML-Twig: Bump to version 3.520.0 (re bug #598764)
Browse files Browse the repository at this point in the history
- EAPI6
- Parallel Testing
- Author test cleanup

Upstream:
- New option "no_xxe" for XML::Twig->new, which causes the parse to
  fail if external entities are used. (See CVE-2016-9180)
- Fix warnings/errors with unescaped regex braces.
- Partial fixes for getNamespaces in XML::Twig::XPath::Elt

Bug: https://bugs.gentoo.org/598764

Package-Manager: portage-2.3.2
  • Loading branch information
kentfredric committed Nov 25, 2016
1 parent 8d1440f commit a8c9d23
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 2 deletions.
1 change: 1 addition & 0 deletions dev-perl/XML-Twig/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST XML-Twig-3.49.tar.gz 402874 SHA256 3e0def8a7477fefa8c27fabf11899a459c8b793909182d016ba26749e9354e01 SHA512 162c07f912062723f225e9620cf18a8a8ad1282abeab6c981c9acb9f638f6fbc70476811533c7c739e861e0cce4ccbc7f44ce0cbe8a9b6b4947e60cffacce23c WHIRLPOOL 6dac6b7e40a8ba7b68f613dfd4d24cad754f8d5be9d7b7c1bb580d177b5c903ed95dc64d06933a48122e458ae987ae1c84a3ea21d7570cda8ab39709ebe95f32
DIST XML-Twig-3.52.tar.gz 407769 SHA256 fef75826c24f2b877d0a0d2645212fc4fb9756ed4d2711614ac15c497e8680ad SHA512 1594e127fb76c0e53d0bd1f0a12fe3874c9523dd2bc55675d5a6cf44d5682ddea481671f786d3a65e6b69f5307c4da1701529f318453a1f8a22685b2dae793a6 WHIRLPOOL 82877678a363d20d829f3a3aef62fd0db325afbb86b12acdf4977cdd7d39e4c0839e435d7a9b30a87474ea4b31e7f118291a7575237af9a0097a19212385e934
42 changes: 42 additions & 0 deletions dev-perl/XML-Twig/XML-Twig-3.520.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=6

DIST_AUTHOR=MIROD
DIST_VERSION=3.52
inherit perl-module

DESCRIPTION="Process huge XML documents in tree mode"

SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE="nls test"

RDEPEND="
>=dev-perl/XML-Parser-2.31
>=virtual/perl-Scalar-List-Utils-1.230.0
>=virtual/perl-Encode-2.240.100_rc
>=dev-libs/expat-1.95.5
dev-perl/Tie-IxHash
dev-perl/XML-XPath
>=dev-perl/libwww-perl-6.40.0
>=dev-perl/HTML-Parser-3.690.0
nls? (
>=dev-perl/Text-Iconv-1.2-r1
)
"
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
test? (
>=dev-perl/XML-Handler-YAWriter-0.230.0
>=dev-perl/XML-SAX-Writer-0.530.0
)
"

src_test() {
perl_rm_files "t/pod.t" "t/pod_coverage.t" "t/test_changes.t" \
"t/test_kwalitee.t" "t/test_meta_json.t"
perl-module_src_test
}
4 changes: 2 additions & 2 deletions dev-perl/XML-Twig/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
<remote-id type="cpan-module">XML::Twig::Elt</remote-id>
<remote-id type="cpan-module">XML::Twig::Entity</remote-id>
<remote-id type="cpan-module">XML::Twig::Entity_list</remote-id>
<remote-id type="cpan-module">XML::Twig::Notation</remote-id>
<remote-id type="cpan-module">XML::Twig::Notation_list</remote-id>
<remote-id type="cpan-module">XML::Twig::XPath</remote-id>
<remote-id type="cpan-module">XML::Twig::XPath::Attribute</remote-id>
<remote-id type="cpan-module">XML::Twig::XPath::Elt</remote-id>
<remote-id type="cpan-module">XML::Twig::XPath::Namespace</remote-id>
<remote-id type="cpan-module">XML::XPath::NodeSet</remote-id>
<remote-id type="cpan-module">XML::XPathEngine::NodeSet</remote-id>
</upstream>
</pkgmetadata>

0 comments on commit a8c9d23

Please sign in to comment.