Gentoo Archives: gentoo-commits

From: Kent Fredric <kentnl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/libwww-perl/
Date: Sun, 29 Oct 2017 13:42:03
Message-Id: 1509284510.005cda81efad23e6c0e2570b083a16e53a278cbf.kentnl@gentoo
1 commit: 005cda81efad23e6c0e2570b083a16e53a278cbf
2 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 29 13:33:53 2017 +0000
4 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 29 13:41:50 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=005cda81
7
8 dev-perl/libwww-perl: Bump to version 6.270.0
9
10 Upstream:
11 - fix lw-request -C
12 - use Getopt::Long in lwp-download
13 - handle undefined values in ->credentials
14 - fix lwp-mirror options checks
15 - update bin scripts to use LWP::VERSION
16
17 Package-Manager: Portage-2.3.8, Repoman-2.3.3
18
19 dev-perl/libwww-perl/Manifest | 1 +
20 dev-perl/libwww-perl/libwww-perl-6.270.0.ebuild | 70 +++++++++++++++++++++++++
21 dev-perl/libwww-perl/metadata.xml | 3 --
22 3 files changed, 71 insertions(+), 3 deletions(-)
23
24 diff --git a/dev-perl/libwww-perl/Manifest b/dev-perl/libwww-perl/Manifest
25 index 02fb13ad5ad..397066e8b90 100644
26 --- a/dev-perl/libwww-perl/Manifest
27 +++ b/dev-perl/libwww-perl/Manifest
28 @@ -3,3 +3,4 @@ DIST libwww-perl-6.16.tar.gz 143751 SHA256 daffd268000f92d241f8ae5508ae5616dbd02
29 DIST libwww-perl-6.24.tar.gz 161940 SHA256 0fcb35f215c6fc84e255835ca6654f7cf2c192364d61433424afc7b37766e75d SHA512 433e62b802f770b1d7c46bbe3a3b16c0e4423ded77b04f394a49340da98a97c74f8332ffc29c1bc0765cdc8277a2fe110a371b6b0be0f9e94ed104273ee0a1d1 WHIRLPOOL 835d2de7f413359b14bde00813d1b8580771bef36f6924e5e900faec6306e25e96b098b3ad73a6c496bc6344ea2dadbc8c5d5231f0ef9032c02746da867dcf4c
30 DIST libwww-perl-6.25.tar.gz 161902 SHA256 49c0110ef38d27a8963a082cf61ce245447871676b85ec9f2b9b41d6c2f37f33 SHA512 e1e73db3fae08911c9b4d13e9058a7370d1bc5c8274f345fc1c0565aee4eaf97e1da7e7a1456388beaa62adb4bbb9b3226443334c04e2b8f16936225e6b9b949 WHIRLPOOL f7bcef665040709479f399c9cf095e06ccd41327455fd7e61195ac04134d58d8cd16af4e197006a597047f623f0656bb97df6c85d275f53ac93f76bcf7bd8770
31 DIST libwww-perl-6.26.tar.gz 162165 SHA256 d0c5435275f8638ff36fff8f655ad2ccad1156e66cc47bfacfb9e44fc585b24f SHA512 0af62f1c393b82b2d665f4f460990bb9a446975507cc07148e9e5eebbfbcdd8ea8190dfe1ecb72a229ffa9a5e42edd9eb6c50ac1d3de89ac4681462069a3acb5 WHIRLPOOL 692ce7df77c8d0a4b4067f9e907f85e896819d64daafc1a9404acf4764743b01ce4b3bddc3980816e313f017869d2da62a9224f8d3dabcd915db23f2ab3e20d4
32 +DIST libwww-perl-6.27.tar.gz 163020 SHA256 298f226f0faef4920adeb0317cd774350df50dc5a7e4d6d092d5673e22eab58a SHA512 ceb7df71ef2773752dfa8a46f6e48cfbe7501f543d53ddaf50ee97da2cb21025be4bb32bee62d6f6fa837a7b0726718b3b8470de0b8a9d789e40c16a42b894e7 WHIRLPOOL 4556ab147c852c4987a48027aba7c507e469f2cfecead46e397cd46bfff499db7e60c0c787fc178cc471fe8a94867f24cbdcff96b9342e8b3f273b443b68a86e
33
34 diff --git a/dev-perl/libwww-perl/libwww-perl-6.270.0.ebuild b/dev-perl/libwww-perl/libwww-perl-6.270.0.ebuild
35 new file mode 100644
36 index 00000000000..acf572b3d1e
37 --- /dev/null
38 +++ b/dev-perl/libwww-perl/libwww-perl-6.270.0.ebuild
39 @@ -0,0 +1,70 @@
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=OALDERS
46 +DIST_VERSION=6.27
47 +inherit perl-module
48 +
49 +DESCRIPTION="A collection of Perl Modules for the WWW"
50 +
51 +SLOT="0"
52 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
53 +IUSE="ssl test"
54 +
55 +RDEPEND="
56 + virtual/perl-Digest-MD5
57 + >=virtual/perl-Encode-2.120.0
58 + dev-perl/Encode-Locale
59 + >=dev-perl/File-Listing-6.0.0
60 + >=dev-perl/HTML-Parser-3.340.0
61 + >=dev-perl/HTTP-Cookies-6.0.0
62 + >=dev-perl/HTTP-Daemon-6.0.0
63 + >=dev-perl/HTTP-Date-6.0.0
64 + >=dev-perl/HTTP-Negotiate-6.0.0
65 + >=dev-perl/HTTP-Message-6.0.0
66 + virtual/perl-IO
67 + >=dev-perl/LWP-MediaTypes-6.0.0
68 + >=virtual/perl-MIME-Base64-2.120.0
69 + >=dev-perl/Net-HTTP-6.70.0
70 + virtual/perl-Scalar-List-Utils
71 + dev-perl/Try-Tiny
72 + >=dev-perl/URI-1.100.0
73 + >=dev-perl/WWW-RobotRules-6.0.0
74 + >=virtual/perl-libnet-1.220.0
75 +"
76 +DEPEND="${RDEPEND}
77 + virtual/perl-ExtUtils-MakeMaker
78 + virtual/perl-Getopt-Long
79 + test? (
80 + virtual/perl-File-Spec
81 + dev-perl/Test-Fatal
82 + dev-perl/Test-RequiresInternet
83 + virtual/perl-Test-Simple
84 + )
85 +"
86 +PDEPEND="
87 + ssl? (
88 + >=dev-perl/LWP-Protocol-https-6.20.0
89 + )
90 +"
91 +
92 +src_install() {
93 + perl-module_src_install
94 +
95 + # Perform a check to see if the live filesystem is case-INsensitive
96 + # or not. If it is, the symlinks GET, POST and in particular HEAD
97 + # will collide with e.g. head from coreutils. While under Linux
98 + # having a case-INsensitive filesystem is really unusual, most Mac
99 + # OS X users are on it, and also Interix users deal with
100 + # case-INsensitivity since Windows is underneath.
101 +
102 + # bash should always be there, if we can find it in capitals, we're
103 + # on a case-INsensitive filesystem.
104 + if [[ ! -f ${EROOT}/BIN/BASH ]] ; then
105 + dosym lwp-request /usr/bin/GET
106 + dosym lwp-request /usr/bin/POST
107 + dosym lwp-request /usr/bin/HEAD
108 + fi
109 +}
110
111 diff --git a/dev-perl/libwww-perl/metadata.xml b/dev-perl/libwww-perl/metadata.xml
112 index eda868b6bae..bccbdf361d4 100644
113 --- a/dev-perl/libwww-perl/metadata.xml
114 +++ b/dev-perl/libwww-perl/metadata.xml
115 @@ -14,7 +14,6 @@
116 <remote-id type="cpan-module">LWP::ConnCache</remote-id>
117 <remote-id type="cpan-module">LWP::Debug</remote-id>
118 <remote-id type="cpan-module">LWP::Debug::TraceHTTP</remote-id>
119 - <remote-id type="cpan-module">LWP::Debug::TraceHTTP::Socket</remote-id>
120 <remote-id type="cpan-module">LWP::DebugFile</remote-id>
121 <remote-id type="cpan-module">LWP::MemberMixin</remote-id>
122 <remote-id type="cpan-module">LWP::Protocol</remote-id>
123 @@ -25,8 +24,6 @@
124 <remote-id type="cpan-module">LWP::Protocol::ftp</remote-id>
125 <remote-id type="cpan-module">LWP::Protocol::gopher</remote-id>
126 <remote-id type="cpan-module">LWP::Protocol::http</remote-id>
127 - <remote-id type="cpan-module">LWP::Protocol::http::Socket</remote-id>
128 - <remote-id type="cpan-module">LWP::Protocol::http::SocketMethods</remote-id>
129 <remote-id type="cpan-module">LWP::Protocol::loopback</remote-id>
130 <remote-id type="cpan-module">LWP::Protocol::mailto</remote-id>
131 <remote-id type="cpan-module">LWP::Protocol::nntp</remote-id>