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/RPC-XML/
Date: Sat, 24 Apr 2021 17:14:58
Message-Id: 1619284481.9f01ca243bd90f531350d7c76f571b64a26e4108.dilfridge@gentoo
1 commit: 9f01ca243bd90f531350d7c76f571b64a26e4108
2 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 24 17:13:43 2021 +0000
4 Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 24 17:14:41 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f01ca24
7
8 dev-perl/RPC-XML: Version bump 0.82
9
10 Closes: https://bugs.gentoo.org/662420
11 Package-Manager: Portage-3.0.17, Repoman-3.0.2
12 Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
13
14 dev-perl/RPC-XML/Manifest | 1 +
15 dev-perl/RPC-XML/RPC-XML-0.820.0.ebuild | 63 +++++++++++++++++++++++++++++++++
16 2 files changed, 64 insertions(+)
17
18 diff --git a/dev-perl/RPC-XML/Manifest b/dev-perl/RPC-XML/Manifest
19 index 7094bbcf20a..9906db047e3 100644
20 --- a/dev-perl/RPC-XML/Manifest
21 +++ b/dev-perl/RPC-XML/Manifest
22 @@ -1,2 +1,3 @@
23 DIST RPC-XML-0.79.tar.gz 209612 BLAKE2B 8135be3e956083b985a00056c4574ab7412223f554a66fdadea1d10abbf837b6c02464cd212d774ef940c6f1524cbbaf651155abc1c35e1cac96aa01e1a058d7 SHA512 541ee3abf4e44cff68a2b7b7c4f78095e8e4ec479d72b52d300503bc1688f64fd01a0ff3c2cdf8e18573d19af0bae467ac68befe7ad8756e6287ed494a50ce26
24 DIST RPC-XML-0.80.tar.gz 211223 BLAKE2B e26ba4f667c227e84362ca8e09d17ee01ef45c25902e7bc433bc4a81facacfc6163fc06ddd20a08399131faf18daa97f0f1a173043147f2d5046424c6e3087d3 SHA512 a91586ea903b3e633f85ca8d9048181a7c3aedcff6788c7ae5fb4971e8552c421c86f30254517c25caa35f1991146dcceb34301bb49002e4ec75a2ee9c195992
25 +DIST RPC-XML-0.82.tar.gz 225690 BLAKE2B 4e16730a5bda313d43b00eaa8617e009a157867f286f17afb58693beb881ac2329ebee93d98c44c8742be2608998c1d2e0cc4f323be83ae9c5e9041c5bf90b3c SHA512 e5d1092a2807c2bd423502dd2ed53a72c57384b67bb4709e86a64a6fe37ce8af580998e62fcfa6a48d66d5308d9dc270c74e4293617b9f23a654e379cde4025f
26
27 diff --git a/dev-perl/RPC-XML/RPC-XML-0.820.0.ebuild b/dev-perl/RPC-XML/RPC-XML-0.820.0.ebuild
28 new file mode 100644
29 index 00000000000..47ed029c810
30 --- /dev/null
31 +++ b/dev-perl/RPC-XML/RPC-XML-0.820.0.ebuild
32 @@ -0,0 +1,63 @@
33 +# Copyright 1999-2021 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +DIST_AUTHOR=RJRAY
39 +DIST_VERSION=0.82
40 +DIST_EXAMPLES=( "ex/*.xpl" )
41 +inherit perl-module
42 +
43 +DESCRIPTION="An implementation of XML-RPC"
44 +
45 +SLOT="0"
46 +LICENSE="|| ( Artistic-2 LGPL-2.1 )"
47 +KEYWORDS="~amd64 ~ppc ~x86"
48 +IUSE="test"
49 +RESTRICT="!test? ( test )"
50 +
51 +RDEPEND="
52 + virtual/perl-Carp
53 + >=dev-perl/HTTP-Daemon-6.120.0
54 + >=dev-perl/HTTP-Message-6.260.0
55 + >=dev-perl/libwww-perl-6.510.0
56 + >=virtual/perl-Module-Load-0.360.0
57 + >=virtual/perl-Scalar-List-Utils-1.550.0
58 + >=dev-perl/XML-Parser-2.460.0
59 +"
60 +BEPEND="${RDEPEND}
61 + >=virtual/perl-ExtUtils-MakeMaker-7.560.0
62 + test? (
63 + virtual/perl-IO-Socket-IP
64 + >=virtual/perl-Test-Simple-1.302.183
65 + )
66 +"
67 +
68 +src_compile() {
69 + perl-module_src_compile
70 + if use examples; then
71 + pushd "${S}/ex" >/dev/null || die "Can't enter ${S}/ex"
72 + emake MAKEMETHOD="${S}/blib/script/make_method"
73 + popd >/dev/null || die "Can't exit ${S}/ex"
74 + fi
75 +}
76 +pkg_postinst() {
77 + SETWARN=0
78 + has_version '=www-servers/apache-2*' && HAVE_APACHE2=1
79 + has_version '>=www-apache/mod_perl-2.0' && HAVE_MP2=2
80 +
81 + [ -n "${HAVE_APACHE2}" ] && SETWARN=1
82 + [ -n "${HAVE_MP2}" ] && SETWARN=1
83 +
84 + if [ "${SETWARN}" == "1" ]; then
85 + ewarn "Apache2 or mod_perl2 were detected."
86 + ewarn ""
87 + ewarn "NOTE FROM THE AUTHOR OF RPC-XML"
88 + ewarn ""
89 + ewarn "At present, this package does not work with Apache2 and the soon-to-be"
90 + ewarn "mod_perl2. The changes to the API for location handlers are too drastic to"
91 + ewarn "try and support both within the same class (I tried, using the compatibility"
92 + ewarn "layer). Also, mp2 does not currently provide support for <Perl> sections, which"
93 + ewarn "are the real strength of the Apache::RPC::Server class."
94 + fi
95 +}