aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-lwp-useragent-cached
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-01-11 10:35:32 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-01-12 08:47:48 +0700
commit383838d51f0d36179f581c0bca1421d627c0b063 (patch)
tree58943f4d52d03bd5a804bb205ea2bc1d3df99375 /perl/perl-lwp-useragent-cached
parent0d7de91c0236be80af4440f1ef067b7cadab5f4a (diff)
perl/perl-lwp-useragent-cached: Updated for version 0.08.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'perl/perl-lwp-useragent-cached')
-rw-r--r--perl/perl-lwp-useragent-cached/perl-lwp-useragent-cached.SlackBuild6
-rw-r--r--perl/perl-lwp-useragent-cached/perl-lwp-useragent-cached.info6
2 files changed, 7 insertions, 5 deletions
diff --git a/perl/perl-lwp-useragent-cached/perl-lwp-useragent-cached.SlackBuild b/perl/perl-lwp-useragent-cached/perl-lwp-useragent-cached.SlackBuild
index 7833243fba629..77620c6d3a3b7 100644
--- a/perl/perl-lwp-useragent-cached/perl-lwp-useragent-cached.SlackBuild
+++ b/perl/perl-lwp-useragent-cached/perl-lwp-useragent-cached.SlackBuild
@@ -7,7 +7,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
PRGNAM=perl-lwp-useragent-cached
-VERSION=${VERSION:-0.07}
+VERSION=${VERSION:-0.08}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -54,7 +54,9 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
# it wants to interactively ask whether to automatically install
# Test::Mock::LWP::Dispatch for its tests. Don't let it.
-patch -p1 < $CWD/no_test_requires.diff
+case "$VERSION" in
+ 0.06|0.07) patch -p1 < $CWD/no_test_requires.diff ;;
+esac
perl Makefile.PL \
PREFIX=/usr \
diff --git a/perl/perl-lwp-useragent-cached/perl-lwp-useragent-cached.info b/perl/perl-lwp-useragent-cached/perl-lwp-useragent-cached.info
index b9e6ed833907b..1f283a96ca489 100644
--- a/perl/perl-lwp-useragent-cached/perl-lwp-useragent-cached.info
+++ b/perl/perl-lwp-useragent-cached/perl-lwp-useragent-cached.info
@@ -1,8 +1,8 @@
PRGNAM="perl-lwp-useragent-cached"
-VERSION="0.07"
+VERSION="0.08"
HOMEPAGE="https://metacpan.org/release/LWP-UserAgent-Cached"
-DOWNLOAD="https://cpan.metacpan.org/authors/id/O/OL/OLEG/LWP-UserAgent-Cached-0.07.tar.gz"
-MD5SUM="9d43c55a17e0643f682035d2e7619973"
+DOWNLOAD="https://cpan.metacpan.org/authors/id/O/OL/OLEG/LWP-UserAgent-Cached-0.08.tar.gz"
+MD5SUM="5dbeb4d00c321ef649628004ba1c027e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libwww-perl"