commit:     e7bb693eec8b3e181b9e13a67af61707b2581150
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 24 16:59:45 2021 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Apr 24 17:14:29 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7bb693e

dev-perl/libwww-perl: Version bump 6.53

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 dev-perl/libwww-perl/Manifest                   |  1 +
 dev-perl/libwww-perl/libwww-perl-6.530.0.ebuild | 74 +++++++++++++++++++++++++
 2 files changed, 75 insertions(+)

diff --git a/dev-perl/libwww-perl/Manifest b/dev-perl/libwww-perl/Manifest
index c86793fbf3b..c39cbd3da84 100644
--- a/dev-perl/libwww-perl/Manifest
+++ b/dev-perl/libwww-perl/Manifest
@@ -1 +1,2 @@
 DIST libwww-perl-6.27.tar.gz 163020 BLAKE2B 
a0ad6068e5ef754dedd616b4a2904b2326b1cbdd11dee6e16db984f2e46738812e0b64b95cf1466ebeef17387dd1921472888663cbbf2644504197767c65e8c2
 SHA512 
ceb7df71ef2773752dfa8a46f6e48cfbe7501f543d53ddaf50ee97da2cb21025be4bb32bee62d6f6fa837a7b0726718b3b8470de0b8a9d789e40c16a42b894e7
+DIST libwww-perl-6.53.tar.gz 177561 BLAKE2B 
254b9c7c02baf339d9d63c00c4cca229575e161bc1dac9c3bad52f3d230f0af0f95d1510e2ef137101f941a887c5cb325dcba39a0ce052c7fa030135c1e14065
 SHA512 
d45bba79bf2f3d49cf6b14591a58d04f551e0f6666e6bac32ec31018091590d5efe4313781605287dab22693bafa547dc916b010aafcc677a35a7c3a1154c8ff

diff --git a/dev-perl/libwww-perl/libwww-perl-6.530.0.ebuild 
b/dev-perl/libwww-perl/libwww-perl-6.530.0.ebuild
new file mode 100644
index 00000000000..1b3d7d67444
--- /dev/null
+++ b/dev-perl/libwww-perl/libwww-perl-6.530.0.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DIST_AUTHOR=OALDERS
+DIST_VERSION=6.53
+inherit perl-module
+
+DESCRIPTION="A collection of Perl Modules for the WWW"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+IUSE="ssl test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+       virtual/perl-Digest-MD5
+       >=virtual/perl-Encode-2.120.0
+       dev-perl/Encode-Locale
+       >=dev-perl/File-Listing-6.0.0
+       >=dev-perl/HTML-Parser-3.340.0
+       >=dev-perl/HTTP-Cookies-6.0.0
+       >=dev-perl/HTTP-Date-6.0.0
+       >=dev-perl/HTTP-Negotiate-6.0.0
+       >=dev-perl/HTTP-Message-6.0.0
+       virtual/perl-IO
+       >=dev-perl/LWP-MediaTypes-6.0.0
+       >=virtual/perl-MIME-Base64-2.100.0
+       >=virtual/perl-libnet-2.580.0
+       >=dev-perl/Net-HTTP-6.180.0
+       virtual/perl-Scalar-List-Utils
+       dev-perl/Try-Tiny
+       >=dev-perl/URI-1.100.0
+       >=dev-perl/WWW-RobotRules-6.0.0
+"
+BDEPEND="${RDEPEND}
+       >=virtual/perl-CPAN-Meta-Requirements-2.120.620
+       virtual/perl-ExtUtils-MakeMaker
+       virtual/perl-Getopt-Long
+       virtual/perl-Module-Metadata
+       test? (
+               virtual/perl-File-Spec
+               >=dev-perl/HTTP-Daemon-6.120.0
+               dev-perl/Test-Fatal
+               >=virtual/perl-Test-Simple-0.960.0
+               dev-perl/Test-Needs
+               dev-perl/Test-RequiresInternet
+       )
+"
+PDEPEND="
+       ssl? (
+               >=dev-perl/LWP-Protocol-https-6.20.0
+       )
+"
+
+src_install() {
+       perl-module_src_install
+
+       # Perform a check to see if the live filesystem is case-INsensitive
+       # or not.  If it is, the symlinks GET, POST and in particular HEAD
+       # will collide with e.g. head from coreutils.  While under Linux
+       # having a case-INsensitive filesystem is really unusual, most Mac
+       # OS X users are on it, and also Interix users deal with
+       # case-INsensitivity since Windows is underneath.
+
+       # bash should always be there, if we can find it in capitals, we're
+       # on a case-INsensitive filesystem.
+       if [[ ! -f ${EROOT}/BIN/BASH ]] ; then
+               dosym lwp-request /usr/bin/GET
+               dosym lwp-request /usr/bin/POST
+               dosym lwp-request /usr/bin/HEAD
+       fi
+}

Reply via email to