summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentfredric@gmail.com>2016-02-22 23:58:48 +1300
committerKent Fredric <kentfredric@gmail.com>2016-02-27 21:39:56 +1300
commita16a988f24ed31a714120fe61d15a49e8a728031 (patch)
tree92119df3035ef33f73801db2ca6b01d0362c2f02 /dev-perl/MediaWiki-API
parentdev-perl/MLDBM: Bump to version 2.50.0 (diff)
downloadgentoo-a16a988f24ed31a714120fe61d15a49e8a728031.tar.gz
gentoo-a16a988f24ed31a714120fe61d15a49e8a728031.tar.bz2
gentoo-a16a988f24ed31a714120fe61d15a49e8a728031.zip
dev-perl/MediaWiki-API: Bump to version 0.410.0
- use EAPI6 - Fix wrong LICENSE - Clean up deps - Add network-test handling for people who set override="network" - Nuke spurious tests that can't help real problems Package-Manager: portage-2.2.27
Diffstat (limited to 'dev-perl/MediaWiki-API')
-rw-r--r--dev-perl/MediaWiki-API/Manifest1
-rw-r--r--dev-perl/MediaWiki-API/MediaWiki-API-0.410.0.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-perl/MediaWiki-API/Manifest b/dev-perl/MediaWiki-API/Manifest
index 2390437bd17b..a1b8a49007f1 100644
--- a/dev-perl/MediaWiki-API/Manifest
+++ b/dev-perl/MediaWiki-API/Manifest
@@ -1 +1,2 @@
DIST MediaWiki-API-0.39.tar.gz 33018 SHA256 eda3107f545ac4ddf01380f3fc00863160d7f0db62cf53320e7470d11f06b5d8 SHA512 dcbd330d55e04f42d36bf223da91d3319a696b4217ebd1ed654912cab3c2f16b6ca11acba620fe96fee6b81718fd88ddd6347f5c8577ff747aa065ff5ce7524f WHIRLPOOL 8156b9282588843fb5b0d56342ea7bab1438ac048199808750689d76786741c999c7cc501fe77a6fd1d504605e5c66b2804414cf989505a971650508385641cb
+DIST MediaWiki-API-0.41.tar.gz 32857 SHA256 8e9062dfa34cb81dfff4ac9078a8afd5b0ee76e928cc1f9a57f9390f917d6265 SHA512 44d0af19ee5c6026b05d9844966b2469b5dfa7dadaf3c965327eef5ff420299e34dc301b4538bb67510d7c1b4d8d3151ff01deb9d3a4270b8a285b4254f99990 WHIRLPOOL 50677622e29c6ddb220fa15660b23ad43142fbfee2b7b230533aa82efd584e437c0e3b50754b0c520c351374fb2083d9c89c57796d54f570dc704b0449253b03
diff --git a/dev-perl/MediaWiki-API/MediaWiki-API-0.410.0.ebuild b/dev-perl/MediaWiki-API/MediaWiki-API-0.410.0.ebuild
new file mode 100644
index 000000000000..68afa2ef73a5
--- /dev/null
+++ b/dev-perl/MediaWiki-API/MediaWiki-API-0.410.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DIST_AUTHOR=EXOBUZZ
+DIST_VERSION=0.41
+inherit perl-module
+
+DESCRIPTION="A OO interface to the Mediawiki API"
+LICENSE="GPL-3+"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="test"
+
+RDEPEND="
+ dev-perl/JSON
+ dev-perl/libwww-perl
+ virtual/perl-Carp
+ virtual/perl-Encode
+"
+DEPEND="
+ 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
+}