diff options
author | Sam James <sam@gentoo.org> | 2024-05-01 04:21:05 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-05-01 04:49:41 +0100 |
commit | bdf5d8eef277d5786a8276ea660e4933730b2409 (patch) | |
tree | 1725f4d7253535af6bc42b681c89cf3cce15011d | |
parent | dev-perl/IPC-Run3: add 0.49.0 (diff) | |
download | gentoo-bdf5d8eef277d5786a8276ea660e4933730b2409.tar.gz gentoo-bdf5d8eef277d5786a8276ea660e4933730b2409.tar.bz2 gentoo-bdf5d8eef277d5786a8276ea660e4933730b2409.zip |
dev-perl/libwww-perl: add 6.770.0
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | dev-perl/libwww-perl/Manifest | 1 | ||||
-rw-r--r-- | dev-perl/libwww-perl/libwww-perl-6.770.0.ebuild | 75 |
2 files changed, 76 insertions, 0 deletions
diff --git a/dev-perl/libwww-perl/Manifest b/dev-perl/libwww-perl/Manifest index 8433d70f1fc4..d685d3a44a07 100644 --- a/dev-perl/libwww-perl/Manifest +++ b/dev-perl/libwww-perl/Manifest @@ -1 +1,2 @@ DIST libwww-perl-6.72.tar.gz 184644 BLAKE2B 20e58a888d46dc7e35b59bf7f5be29f5e0039ee15d81656ffa5c494b62a5e755eb7048d110a6a8fa2e2a33ed51a016e3aaa48898f9d8513aff3d74f1f3a4bd37 SHA512 2dd7052e2105b7bc8abe81742707e6a9aa9891316755171c275e8f547c65f97354a133027eeac93f1a1657ae986bdd9a74a9c887518acb8b5ea634e96910e57d +DIST libwww-perl-6.77.tar.gz 183886 BLAKE2B 6b9d8b70e57ac903808bba845d5975781289ac0d77c1afa159d96b3e5b2c9731de1e543bb29ce0046b702e5ace753b2e416b48d5437383edf8ab88bfca6bdf5a SHA512 66aa1928da3362a496da543473a0ce1a7cc3885ebb5bf449ab0cdd18ce7836835b80ec8919cf6d0e63107eda03e1fe9d05ba39422a32e144034ef02632d43659 diff --git a/dev-perl/libwww-perl/libwww-perl-6.770.0.ebuild b/dev-perl/libwww-perl/libwww-perl-6.770.0.ebuild new file mode 100644 index 000000000000..1b7e15bf02fb --- /dev/null +++ b/dev-perl/libwww-perl/libwww-perl-6.770.0.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DIST_AUTHOR=OALDERS +DIST_VERSION=6.77 +inherit perl-module + +DESCRIPTION="Collection of Perl Modules for the WWW" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~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 + virtual/perl-File-Temp + virtual/perl-Getopt-Long + >=dev-perl/HTML-Parser-3.710.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.180.0 + virtual/perl-IO + >=dev-perl/LWP-MediaTypes-6.0.0 + >=virtual/perl-MIME-Base64-2.100.0 + virtual/perl-Module-Load + >=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-ExtUtils-MakeMaker + virtual/perl-Getopt-Long + test? ( + virtual/perl-File-Spec + dev-perl/HTTP-CookieJar + >=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 + ) +" + +pkg_postinst() { + # 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 + ln -s lwp-request "${EROOT}"/usr/bin/GET + ln -s lwp-request "${EROOT}"/usr/bin/POST + ln -s lwp-request "${EROOT}"/usr/bin/HEAD + fi +} |