Gentoo Archives: gentoo-commits

From: "Andreas K. Hüttel" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/MediaWiki-API/
Date: Sun, 04 Jul 2021 16:37:07
Message-Id: 1625416593.e0b3cb3d990ac9dee3757df5ed4f2bc926f550b1.dilfridge@gentoo
1 commit: e0b3cb3d990ac9dee3757df5ed4f2bc926f550b1
2 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jul 3 22:40:17 2021 +0000
4 Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 4 16:36:33 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0b3cb3d
7
8 dev-perl/MediaWiki-API: Version bump 0.52
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.3
11 Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
12
13 dev-perl/MediaWiki-API/Manifest | 1 +
14 .../MediaWiki-API/MediaWiki-API-0.520.0.ebuild | 38 ++++++++++++++++++++++
15 2 files changed, 39 insertions(+)
16
17 diff --git a/dev-perl/MediaWiki-API/Manifest b/dev-perl/MediaWiki-API/Manifest
18 index d6700833b43..654afb59859 100644
19 --- a/dev-perl/MediaWiki-API/Manifest
20 +++ b/dev-perl/MediaWiki-API/Manifest
21 @@ -1 +1,2 @@
22 DIST MediaWiki-API-0.41.tar.gz 32857 BLAKE2B f68a8e204e3350aa3c97ce881dc0ffac27e9fdc8b931c8190019ab870dd55f1633aacfa15a1b502807782e8d3d8f2063382c43aa2896834e1771db6acd5ad370 SHA512 44d0af19ee5c6026b05d9844966b2469b5dfa7dadaf3c965327eef5ff420299e34dc301b4538bb67510d7c1b4d8d3151ff01deb9d3a4270b8a285b4254f99990
23 +DIST MediaWiki-API-0.52.tar.gz 32649 BLAKE2B 2ef7209dc6cc57c9310699222ec9a205c989f0d9ef7075d4528be44e4754857caf9db29e189c65e780d4ffafec2bfe9da02fc62e12d0b3a953212c2e7b7dea22 SHA512 a81ebc0355a87da974345164745bf660fb4b9af579e208d2274589db79721acb28bd8d6b71d5e8cac467aa59b168b35349cebe4dc4cc87e7c15082de53ba9635
24
25 diff --git a/dev-perl/MediaWiki-API/MediaWiki-API-0.520.0.ebuild b/dev-perl/MediaWiki-API/MediaWiki-API-0.520.0.ebuild
26 new file mode 100644
27 index 00000000000..04f9efbeda6
28 --- /dev/null
29 +++ b/dev-perl/MediaWiki-API/MediaWiki-API-0.520.0.ebuild
30 @@ -0,0 +1,38 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +DIST_AUTHOR=EXOBUZZ
37 +DIST_VERSION=0.52
38 +inherit perl-module
39 +
40 +DESCRIPTION="A OO interface to the Mediawiki API"
41 +LICENSE="GPL-3+"
42 +
43 +SLOT="0"
44 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
45 +
46 +RDEPEND="
47 + virtual/perl-Carp
48 + virtual/perl-Encode
49 + dev-perl/JSON
50 + dev-perl/libwww-perl
51 +"
52 +BDEPEND="
53 + virtual/perl-ExtUtils-MakeMaker
54 + test? (
55 + >=virtual/perl-Test-Simple-0.980.0
56 + )
57 +"
58 +
59 +src_test() {
60 + local my_test_control
61 + my_test_control=${DIST_TEST_OVERRIDE:-${DIST_TEST:-do parallel}}
62 + if has network ${my_test_control}; then
63 + perl_rm_files "t/98-pod-coverage.t" "t/99-pod.t"
64 + else
65 + perl_rm_files "t/98-pod-coverage.t" "t/99-pod.t" "t/10-api.t"
66 + fi
67 + perl-module_src_test
68 +}