diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-perl/XML-Parser-Lite/XML-Parser-Lite-0.721.0.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-perl/XML-Parser-Lite/XML-Parser-Lite-0.721.0.ebuild')
-rw-r--r-- | dev-perl/XML-Parser-Lite/XML-Parser-Lite-0.721.0.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
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 index 000000000000..5f6a90cb262f --- /dev/null +++ b/dev-perl/XML-Parser-Lite/XML-Parser-Lite-0.721.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 +} |