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