dev-perl/XML-Parser-Lite: Bump to version 0.721.0
authorKent Fredric <kentfredric@gmail.com>
Tue, 26 Apr 2016 08:38:13 +0000 (20:38 +1200)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Fri, 29 Apr 2016 19:35:59 +0000 (21:35 +0200)
- EAPI6
- Exclude possible network test unless DIST_TEST_OVERRIDE inlcudes "network".
  (Note: this test could have pulled in other dependencies to test it under a useflag, but doing
   so introduces a dependency cycle, because the test in question is to test for regressions in those
   things. Instead, this test will still be present if network testing is enabled, and will auto-activate
   if somebody happens to satisfy the dependencies)

Upstream:
- Packaging changes ( esp in regards to circular dependency tests )

Package-Manager: portage-2.2.28
RepoMan-Options: --include-arches="alpha amd64 amd64-fbsd arm arm64 hppa ia64 m68k mips nios2 ppc ppc64 riscv s390 sh sparc sparc-fbsd x86 x86-fbsd"

dev-perl/XML-Parser-Lite/Manifest
dev-perl/XML-Parser-Lite/XML-Parser-Lite-0.721.0.ebuild [new file with mode: 0644]
dev-perl/XML-Parser-Lite/metadata.xml

index 1ac338bfd28a09086f4babf88341b008d27a6667..da82a5baeb94a7d9a47940a695f175e3f0da6162 100644 (file)
@@ -1 +1,2 @@
 DIST XML-Parser-Lite-0.72.tar.gz 9382 SHA256 38c7110d9fc23042284e8584777a18f3e1c5c1974ab3df598df120c0922811bb SHA512 5d7d91e0ab19373845c0b1dfed8dfdce8326d84e55cbe5996dceebcc897dd741b0ef65ecefb7e05105caa7be8d74f4d6e9dce5ffa32f8745a8a19a1c3a6e4870 WHIRLPOOL a7d37912b24f99898a938d4f84391b40e466be456645b35620c6f92e115c3d388377f4f511a4b20d39bf9b9800a63b3871202cc6564f94d51e144c1290fd7ddf
+DIST XML-Parser-Lite-0.721.tar.gz 10303 SHA256 5862a36ecab9db9aad021839c847e8d2f4ab5a7796c61d0fb069bb69cf7908ba SHA512 23c0aa9363e87afc885e40bc92643c355a5e7be85a61b8f1d1e829a970538b2f0a9de6dd652387d4612528274da64e8812faa6328be2283a28675a6da09c707f WHIRLPOOL d6666b542b96bf749c36b0f7b724ab56a0c508b0ce3d19895236b3cb2ab8ff504f4bd30146270853a761cc3bdc1d188f717c294cf4c3f720350d7a6ed083d8d5
diff --git a/dev-perl/XML-Parser-Lite/XML-Parser-Lite-0.721.0.ebuild b/dev-perl/XML-Parser-Lite/XML-Parser-Lite-0.721.0.ebuild
new file mode 100644 (file)
index 0000000..af6e1cb
--- /dev/null
@@ -0,0 +1,35 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DIST_AUTHOR=PHRED
+DIST_VERSION=0.721
+inherit perl-module
+
+DESCRIPTION="Lightweight regexp-based XML parser"
+
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="test minimal"
+
+# Note: Don't try to depend on XMLRPC-Lite or SOAP-Lite with tests,
+# as it it introduces a temporal cycle when enabled.
+# Also: That test requires networking ...
+RDEPEND=""
+DEPEND="${RDEPEND}
+       virtual/perl-ExtUtils-MakeMaker
+       test? (
+               >=dev-perl/Test-Requires-0.60.0
+               >=virtual/perl-Test-Simple-0.880.0
+       )
+"
+src_test() {
+       local my_test_control="${DIST_TEST_OVERRIDE:-${DIST_TEST:-do parallel}}"
+       if ! has network ${my_test_control} ; then
+               einfo "removing tests that can do network IO"
+               perl_rm_files "t/37-mod_xmlrpc.t"
+       fi
+       perl-module_src_test
+}
index 51930499ab60c43adb5c98391c24d5bf010b93e1..e813b2bde1bb706dc1030e3d4ca5d924db4fec3e 100644 (file)
@@ -5,4 +5,8 @@
                <email>perl@gentoo.org</email>
                <name>Gentoo Perl Project</name>
        </maintainer>
+       <upstream>
+               <remote-id type="cpan">XML-Parser-Lite</remote-id>
+               <remote-id type="cpan-module">XML::Parser::Lite</remote-id>
+       </upstream>
 </pkgmetadata>