diff options
author | 2017-03-19 00:43:51 +1300 | |
---|---|---|
committer | 2017-03-19 01:05:17 +1300 | |
commit | 72a929b5f2f72bbf5f6db6c287922d1c7e822896 (patch) | |
tree | 6e4cbd2d06010bf4e19d1fb147f8c0d150e1d908 /dev-perl/libwww-perl/libwww-perl-6.240.0.ebuild | |
parent | app-editors/emacs-vcs: Drop autogen.sh. (diff) | |
download | gentoo-72a929b5f2f72bbf5f6db6c287922d1c7e822896.tar.gz gentoo-72a929b5f2f72bbf5f6db6c287922d1c7e822896.tar.bz2 gentoo-72a929b5f2f72bbf5f6db6c287922d1c7e822896.zip |
dev-perl/libwww-perl: Bump to version 6.240.0
Upstream:
- Removed use of UNIVERSAL::isa and use Try::Tiny instead of eval
- Update "timeout" when reusing sockets
- Fix bug triggered calling simple_request with malformed URL
- Call HTTP::Status constants without &
- bin scripts now use loaded LWPs' version
- Fix bug triggered with auth challenges lacking a viable protocol
- Ensure LWP::Simple re-exports some HTTP::Status functions
- Fix tests that depend on newer HTTP::Message
- Fix Protocol::NNTP prematurely undefining a variable
- Can now set proxy and no_proxy attributes from LWP::UA
constructor
- Misc doc fixes/overhauls
Package-Manager: Portage-2.3.4, Repoman-2.3.2
Diffstat (limited to 'dev-perl/libwww-perl/libwww-perl-6.240.0.ebuild')
-rw-r--r-- | dev-perl/libwww-perl/libwww-perl-6.240.0.ebuild | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/dev-perl/libwww-perl/libwww-perl-6.240.0.ebuild b/dev-perl/libwww-perl/libwww-perl-6.240.0.ebuild new file mode 100644 index 000000000000..741225a02d07 --- /dev/null +++ b/dev-perl/libwww-perl/libwww-perl-6.240.0.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DIST_AUTHOR=OALDERS +DIST_VERSION=6.24 +inherit perl-module + +DESCRIPTION="A collection of Perl Modules for the WWW" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="ssl 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-Daemon-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.120.0 + >=dev-perl/Net-HTTP-6.70.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-libnet-1.220.0 +" +DEPEND="${RDEPEND} + virtual/perl-ExtUtils-MakeMaker + virtual/perl-Getopt-Long + test? ( + virtual/perl-File-Spec + dev-perl/Test-Fatal + dev-perl/Test-RequiresInternet + virtual/perl-Test-Simple + ) +" +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 /usr/bin/lwp-request /usr/bin/GET + dosym /usr/bin/lwp-request /usr/bin/POST + dosym /usr/bin/lwp-request /usr/bin/HEAD + fi +} |