diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-07-08 15:03:58 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-07-08 15:03:58 +0100 |
commit | 814f4cf860e299a046b649eaee5463427984c09c (patch) | |
tree | 74c45f097899310e599dad6b8df5b63e0f085bc0 /dev-perl/MediaWiki-API/MediaWiki-API-0.520.0.ebuild | |
parent | 7f0ccc917c7abe6223784c703d86cd14755691fb (diff) |
gentoo resync : 08.07.2021
Diffstat (limited to 'dev-perl/MediaWiki-API/MediaWiki-API-0.520.0.ebuild')
-rw-r--r-- | dev-perl/MediaWiki-API/MediaWiki-API-0.520.0.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-perl/MediaWiki-API/MediaWiki-API-0.520.0.ebuild b/dev-perl/MediaWiki-API/MediaWiki-API-0.520.0.ebuild new file mode 100644 index 000000000000..04f9efbeda63 --- /dev/null +++ b/dev-perl/MediaWiki-API/MediaWiki-API-0.520.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DIST_AUTHOR=EXOBUZZ +DIST_VERSION=0.52 +inherit perl-module + +DESCRIPTION="A OO interface to the Mediawiki API" +LICENSE="GPL-3+" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + virtual/perl-Carp + virtual/perl-Encode + dev-perl/JSON + dev-perl/libwww-perl +" +BDEPEND=" + virtual/perl-ExtUtils-MakeMaker + test? ( + >=virtual/perl-Test-Simple-0.980.0 + ) +" + +src_test() { + local my_test_control + my_test_control=${DIST_TEST_OVERRIDE:-${DIST_TEST:-do parallel}} + if has network ${my_test_control}; then + perl_rm_files "t/98-pod-coverage.t" "t/99-pod.t" + else + perl_rm_files "t/98-pod-coverage.t" "t/99-pod.t" "t/10-api.t" + fi + perl-module_src_test +} |