summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2021-11-11 19:41:02 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2021-11-11 19:48:06 +0100
commit37971518e2d74e911b2520da7e54d7946177c962 (patch)
tree60ff482dc49eb4d60241af034218323f1045e71e /dev-perl/libwww-perl
parentdev-perl/libwww-perl: Remove old (diff)
downloadgentoo-37971518e2d74e911b2520da7e54d7946177c962.tar.gz
gentoo-37971518e2d74e911b2520da7e54d7946177c962.tar.bz2
gentoo-37971518e2d74e911b2520da7e54d7946177c962.zip
dev-perl/libwww-perl: Version bump 6.58
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'dev-perl/libwww-perl')
-rw-r--r--dev-perl/libwww-perl/libwww-perl-6.580.0.ebuild74
1 files changed, 74 insertions, 0 deletions
diff --git a/dev-perl/libwww-perl/libwww-perl-6.580.0.ebuild b/dev-perl/libwww-perl/libwww-perl-6.580.0.ebuild
new file mode 100644
index 000000000000..403f98a56602
--- /dev/null
+++ b/dev-perl/libwww-perl/libwww-perl-6.580.0.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DIST_AUTHOR=OALDERS
+DIST_VERSION=6.55
+inherit perl-module
+
+DESCRIPTION="A collection of Perl Modules for the WWW"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+IUSE="ssl"
+
+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.70.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
+ >=virtual/perl-parent-0.217.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
+}