From fcd356b76708a8dab310a9d16d5a2a37e2ae61d6 Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Sun, 27 Dec 2015 23:24:09 +0000 Subject: [PATCH] Update to 0.24. In TEST_DEPENDS, change the Sub::Name dependency to Sub::Util (see Changes). Changes: https://metacpan.org/changes/distribution/Try-Tiny PR: 205272 Approved by: maintainer timeout (15 days) --- lang/p5-Try-Tiny/Makefile | 15 ++++++++++----- lang/p5-Try-Tiny/distinfo | 4 ++-- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/lang/p5-Try-Tiny/Makefile b/lang/p5-Try-Tiny/Makefile index 6750d2903cc2..3b002197eee8 100644 --- a/lang/p5-Try-Tiny/Makefile +++ b/lang/p5-Try-Tiny/Makefile @@ -2,10 +2,10 @@ # $FreeBSD$ PORTNAME= Try-Tiny -PORTVERSION= 0.22 +PORTVERSION= 0.24 CATEGORIES= lang perl5 MASTER_SITES= CPAN -MASTER_SITE_SUBDIR= CPAN:DOY +MASTER_SITE_SUBDIR= CPAN:ETHER PKGNAMEPREFIX= p5- MAINTAINER= tobez@FreeBSD.org @@ -13,10 +13,15 @@ COMMENT= Minimal try/catch with proper localization of $$@ LICENSE= MIT -TEST_DEPENDS= p5-Capture-Tiny>=0.12:${PORTSDIR}/devel/p5-Capture-Tiny \ - p5-Sub-Name>=0:${PORTSDIR}/devel/p5-Sub-Name +TEST_DEPENDS= p5-Capture-Tiny>=0.12:${PORTSDIR}/devel/p5-Capture-Tiny USES= perl5 USE_PERL5= configure -.include +.include + +.if ${PERL_LEVEL} < 502104 +TEST_DEPENDS+= p5-Scalar-List-Utils>=0:${PORTSDIR}/lang/p5-Scalar-List-Utils +.endif + +.include diff --git a/lang/p5-Try-Tiny/distinfo b/lang/p5-Try-Tiny/distinfo index a76c7e8f9b1e..ed2dc0c2f0d0 100644 --- a/lang/p5-Try-Tiny/distinfo +++ b/lang/p5-Try-Tiny/distinfo @@ -1,2 +1,2 @@ -SHA256 (Try-Tiny-0.22.tar.gz) = 60fba46f4693d33d54539104f9001df008dabb400b6837e9605c39a6ee6a1b19 -SIZE (Try-Tiny-0.22.tar.gz) = 18311 +SHA256 (Try-Tiny-0.24.tar.gz) = 9b7a1af24c0256973d175369ebbdc25ec01e2452a97f2d3ab61481c826f38d81 +SIZE (Try-Tiny-0.24.tar.gz) = 30666