1 |
commit: f7f309bb351932c0e165498509deb6fd398c113b |
2 |
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 28 07:44:20 2017 +0000 |
4 |
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 30 02:38:44 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7f309bb |
7 |
|
8 |
dev-perl/RPC-XML: Bump to version 0.800.0 |
9 |
|
10 |
- EAPI6 |
11 |
- Enable Parallel tests |
12 |
- Add USE="examples" |
13 |
- Restore 60_net_server test ( fixed upstream ) |
14 |
|
15 |
Upstream: |
16 |
- make_method now produces reproducable output by omitting timestamps |
17 |
- Fix various test failures |
18 |
- Fix memory leak with expat |
19 |
|
20 |
Package-Manager: Portage-2.3.18, Repoman-2.3.6 |
21 |
|
22 |
dev-perl/RPC-XML/Manifest | 1 + |
23 |
dev-perl/RPC-XML/RPC-XML-0.800.0.ebuild | 58 +++++++++++++++++++++++++++++++++ |
24 |
2 files changed, 59 insertions(+) |
25 |
|
26 |
diff --git a/dev-perl/RPC-XML/Manifest b/dev-perl/RPC-XML/Manifest |
27 |
index 25fc3b7399d..7094bbcf20a 100644 |
28 |
--- a/dev-perl/RPC-XML/Manifest |
29 |
+++ b/dev-perl/RPC-XML/Manifest |
30 |
@@ -1 +1,2 @@ |
31 |
DIST RPC-XML-0.79.tar.gz 209612 BLAKE2B 8135be3e956083b985a00056c4574ab7412223f554a66fdadea1d10abbf837b6c02464cd212d774ef940c6f1524cbbaf651155abc1c35e1cac96aa01e1a058d7 SHA512 541ee3abf4e44cff68a2b7b7c4f78095e8e4ec479d72b52d300503bc1688f64fd01a0ff3c2cdf8e18573d19af0bae467ac68befe7ad8756e6287ed494a50ce26 |
32 |
+DIST RPC-XML-0.80.tar.gz 211223 BLAKE2B e26ba4f667c227e84362ca8e09d17ee01ef45c25902e7bc433bc4a81facacfc6163fc06ddd20a08399131faf18daa97f0f1a173043147f2d5046424c6e3087d3 SHA512 a91586ea903b3e633f85ca8d9048181a7c3aedcff6788c7ae5fb4971e8552c421c86f30254517c25caa35f1991146dcceb34301bb49002e4ec75a2ee9c195992 |
33 |
|
34 |
diff --git a/dev-perl/RPC-XML/RPC-XML-0.800.0.ebuild b/dev-perl/RPC-XML/RPC-XML-0.800.0.ebuild |
35 |
new file mode 100644 |
36 |
index 00000000000..8f06c0d7373 |
37 |
--- /dev/null |
38 |
+++ b/dev-perl/RPC-XML/RPC-XML-0.800.0.ebuild |
39 |
@@ -0,0 +1,58 @@ |
40 |
+# Copyright 1999-2017 Gentoo Foundation |
41 |
+# Distributed under the terms of the GNU General Public License v2 |
42 |
+ |
43 |
+EAPI=6 |
44 |
+ |
45 |
+DIST_AUTHOR=RJRAY |
46 |
+DIST_VERSION=0.80 |
47 |
+DIST_EXAMPLES=( "ex/*.xpl" ) |
48 |
+inherit perl-module |
49 |
+ |
50 |
+DESCRIPTION="An implementation of XML-RPC" |
51 |
+ |
52 |
+SLOT="0" |
53 |
+LICENSE="|| ( Artistic-2 LGPL-2.1 )" |
54 |
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" |
55 |
+IUSE="test" |
56 |
+ |
57 |
+RDEPEND=" |
58 |
+ >=virtual/perl-File-Spec-0.800.0 |
59 |
+ >=dev-perl/libwww-perl-5.834.0 |
60 |
+ >=virtual/perl-Module-Load-0.240.0 |
61 |
+ >=virtual/perl-Scalar-List-Utils-1.200.0 |
62 |
+ >=dev-perl/XML-LibXML-1.850.0 |
63 |
+ >=dev-perl/XML-Parser-2.310.0 |
64 |
+" |
65 |
+DEPEND="${RDEPEND} |
66 |
+ virtual/perl-ExtUtils-MakeMaker |
67 |
+ test? ( >=virtual/perl-Test-Simple-0.940.0 ) |
68 |
+" |
69 |
+ |
70 |
+src_compile() { |
71 |
+ perl-module_src_compile |
72 |
+ if use examples; then |
73 |
+ pushd "${S}/ex" >/dev/null || die "Can't enter ${S}/ex" |
74 |
+ emake MAKEMETHOD="${S}/blib/script/make_method" |
75 |
+ popd >/dev/null || die "Can't exit ${S}/ex" |
76 |
+ fi |
77 |
+} |
78 |
+pkg_postinst() { |
79 |
+ SETWARN=0 |
80 |
+ has_version '=www-servers/apache-2*' && HAVE_APACHE2=1 |
81 |
+ has_version '>=www-apache/mod_perl-2.0' && HAVE_MP2=2 |
82 |
+ |
83 |
+ [ -n "${HAVE_APACHE2}" ] && SETWARN=1 |
84 |
+ [ -n "${HAVE_MP2}" ] && SETWARN=1 |
85 |
+ |
86 |
+ if [ "${SETWARN}" == "1" ]; then |
87 |
+ ewarn "Apache2 or mod_perl2 were detected." |
88 |
+ ewarn "" |
89 |
+ ewarn "NOTE FROM THE AUTHOR OF RPC-XML" |
90 |
+ ewarn "" |
91 |
+ ewarn "At present, this package does not work with Apache2 and the soon-to-be" |
92 |
+ ewarn "mod_perl2. The changes to the API for location handlers are too drastic to" |
93 |
+ ewarn "try and support both within the same class (I tried, using the compatibility" |
94 |
+ ewarn "layer). Also, mp2 does not currently provide support for <Perl> sections, which" |
95 |
+ ewarn "are the real strength of the Apache::RPC::Server class." |
96 |
+ fi |
97 |
+} |