Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/libwww-perl/
Date: Mon, 20 Dec 2021 04:08:53
Message-Id: 1639973312.4252a77eea7d71341f594bd899b76ea2d984e68c.sam@gentoo
1 commit: 4252a77eea7d71341f594bd899b76ea2d984e68c
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 20 02:26:28 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 20 04:08:32 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4252a77e
7
8 dev-perl/libwww-perl: add 6.600.0
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 dev-perl/libwww-perl/Manifest | 1 +
13 dev-perl/libwww-perl/libwww-perl-6.600.0.ebuild | 74 +++++++++++++++++++++++++
14 2 files changed, 75 insertions(+)
15
16 diff --git a/dev-perl/libwww-perl/Manifest b/dev-perl/libwww-perl/Manifest
17 index 8d5dbd808825..47720140c82e 100644
18 --- a/dev-perl/libwww-perl/Manifest
19 +++ b/dev-perl/libwww-perl/Manifest
20 @@ -1 +1,2 @@
21 DIST libwww-perl-6.55.tar.gz 177842 BLAKE2B 5952f311024357f8601e0e5583ae4cf9e18167aefc20a9901a090df7dd0b7f61266784fe3ca3a64d317cb089b0f8aa61e5fce61727ba7b43eaec555d131c98d2 SHA512 4a26bbcea343af513cc7d22761b7b9412da864bc7ff5e6d8cc6494978ceb829f001d1e221482a215e363e7f7857002120dbd12fda14b1b5778b1f437a5e338eb
22 +DIST libwww-perl-6.60.tar.gz 179043 BLAKE2B e6a5f4186b8f7ef707c7150bac734572948b14fb6200920ba7acee1ab4b31bdaa6856bcbd1a50622c73cd5a1482792b0447513107f8f60d4d585d448a81cf4c4 SHA512 9f7e45c9beb36a2147b81ee16a86ecf99da79485df6198d2439325d1cc0f186d5b27b46d39a4583e54fddd4cbdd87f455190b57f11065a03db1bacfb61506544
23
24 diff --git a/dev-perl/libwww-perl/libwww-perl-6.600.0.ebuild b/dev-perl/libwww-perl/libwww-perl-6.600.0.ebuild
25 new file mode 100644
26 index 000000000000..703519c8526d
27 --- /dev/null
28 +++ b/dev-perl/libwww-perl/libwww-perl-6.600.0.ebuild
29 @@ -0,0 +1,74 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DIST_AUTHOR=OALDERS
36 +DIST_VERSION=6.60
37 +inherit perl-module
38 +
39 +DESCRIPTION="A collection of Perl Modules for the WWW"
40 +
41 +SLOT="0"
42 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
43 +IUSE="ssl"
44 +
45 +RDEPEND="
46 + virtual/perl-Digest-MD5
47 + >=virtual/perl-Encode-2.120.0
48 + dev-perl/Encode-Locale
49 + >=dev-perl/File-Listing-6.0.0
50 + >=dev-perl/HTML-Parser-3.340.0
51 + >=dev-perl/HTTP-Cookies-6.0.0
52 + >=dev-perl/HTTP-Date-6.0.0
53 + >=dev-perl/HTTP-Negotiate-6.0.0
54 + >=dev-perl/HTTP-Message-6.70.0
55 + virtual/perl-IO
56 + >=dev-perl/LWP-MediaTypes-6.0.0
57 + >=virtual/perl-MIME-Base64-2.100.0
58 + >=virtual/perl-libnet-2.580.0
59 + >=dev-perl/Net-HTTP-6.180.0
60 + virtual/perl-Scalar-List-Utils
61 + dev-perl/Try-Tiny
62 + >=dev-perl/URI-1.100.0
63 + >=dev-perl/WWW-RobotRules-6.0.0
64 + >=virtual/perl-parent-0.217.0
65 +"
66 +BDEPEND="${RDEPEND}
67 + >=virtual/perl-CPAN-Meta-Requirements-2.120.620
68 + virtual/perl-ExtUtils-MakeMaker
69 + virtual/perl-Getopt-Long
70 + virtual/perl-Module-Metadata
71 + test? (
72 + virtual/perl-File-Spec
73 + >=dev-perl/HTTP-Daemon-6.120.0
74 + dev-perl/Test-Fatal
75 + >=virtual/perl-Test-Simple-0.960.0
76 + dev-perl/Test-Needs
77 + dev-perl/Test-RequiresInternet
78 + )
79 +"
80 +PDEPEND="
81 + ssl? (
82 + >=dev-perl/LWP-Protocol-https-6.20.0
83 + )
84 +"
85 +
86 +src_install() {
87 + perl-module_src_install
88 +
89 + # Perform a check to see if the live filesystem is case-INsensitive
90 + # or not. If it is, the symlinks GET, POST and in particular HEAD
91 + # will collide with e.g. head from coreutils. While under Linux
92 + # having a case-INsensitive filesystem is really unusual, most Mac
93 + # OS X users are on it, and also Interix users deal with
94 + # case-INsensitivity since Windows is underneath.
95 +
96 + # bash should always be there, if we can find it in capitals, we're
97 + # on a case-INsensitive filesystem.
98 + if [[ ! -f ${EROOT}/BIN/BASH ]] ; then
99 + dosym lwp-request /usr/bin/GET
100 + dosym lwp-request /usr/bin/POST
101 + dosym lwp-request /usr/bin/HEAD
102 + fi
103 +}