pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/p5-Switch Update to 2.17



details:   https://anonhg.NetBSD.org/pkgsrc/rev/86e45db85196
branches:  trunk
changeset: 350558:86e45db85196
user:      wen <wen%pkgsrc.org@localhost>
date:      Fri Jul 29 12:10:19 2016 +0000

description:
Update to 2.17

Upstream changes:
2.17  2014-03-18
        - tests fixed
        - patch by Father Chrysostomos
        - many warnings
        - recommendation to use given/when

diffstat:

 lang/p5-Switch/Makefile                |   7 +++----
 lang/p5-Switch/distinfo                |  11 +++++------
 lang/p5-Switch/patches/patch-Switch.pm |  16 ----------------
 3 files changed, 8 insertions(+), 26 deletions(-)

diffs (54 lines):

diff -r e1dd78e5d3bf -r 86e45db85196 lang/p5-Switch/Makefile
--- a/lang/p5-Switch/Makefile   Fri Jul 29 11:58:29 2016 +0000
+++ b/lang/p5-Switch/Makefile   Fri Jul 29 12:10:19 2016 +0000
@@ -1,11 +1,10 @@
-# $NetBSD: Makefile,v 1.7 2016/06/08 19:23:55 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2016/07/29 12:10:19 wen Exp $
 #
 
-DISTNAME=      Switch-2.16
+DISTNAME=      Switch-2.17
 PKGNAME=       p5-${DISTNAME}
-PKGREVISION=   5
 CATEGORIES=    lang perl5
-MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=../../authors/id/R/RG/RGARCIA/}
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=../../authors/id/C/CH/CHORNY/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://search.cpan.org/dist/Switch/
diff -r e1dd78e5d3bf -r 86e45db85196 lang/p5-Switch/distinfo
--- a/lang/p5-Switch/distinfo   Fri Jul 29 11:58:29 2016 +0000
+++ b/lang/p5-Switch/distinfo   Fri Jul 29 12:10:19 2016 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.2 2015/11/03 22:50:40 agc Exp $
+$NetBSD: distinfo,v 1.3 2016/07/29 12:10:19 wen Exp $
 
-SHA1 (Switch-2.16.tar.gz) = 2737a2b5e64a9d715528fa50a8d967710106220e
-RMD160 (Switch-2.16.tar.gz) = 0b93b8ecea9d2e83d757e95fb4056d6b706b1f60
-SHA512 (Switch-2.16.tar.gz) = 614916c3b813c5cc279e592778d24b4213218acbb94fb842b99969475d356f44f451d0ad7fd18b28899a38bdb070e491d32e22c7ee87bc45668606b9cb413f88
-Size (Switch-2.16.tar.gz) = 13185 bytes
-SHA1 (patch-Switch.pm) = f1bde131fcb5ef85e4f888f7fde7f6b0417318d6
+SHA1 (Switch-2.17.tar.gz) = 410fc346dc96347bdb04dc7594a1ae19e0bda834
+RMD160 (Switch-2.17.tar.gz) = ae3a6487e915fd113b2c6b456edc0bcae4f3b410
+SHA512 (Switch-2.17.tar.gz) = 8faf3585c7b8a0552c7de7fad7b0ab89a8c3f3d55cb090d5656ae0925f8d328d9b466bd5bcbca76eaeaf56eceab11654137ba8a9bb03f79b91f00338ab2483ab
+Size (Switch-2.17.tar.gz) = 14490 bytes
diff -r e1dd78e5d3bf -r 86e45db85196 lang/p5-Switch/patches/patch-Switch.pm
--- a/lang/p5-Switch/patches/patch-Switch.pm    Fri Jul 29 11:58:29 2016 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-$NetBSD: patch-Switch.pm,v 1.1.1.1 2011/10/28 09:14:41 obache Exp $
-
-* misuses the (;$) prototype
-  https://rt.cpan.org/Public/Bug/Display.html?id=60380
-
---- Switch.pm.orig     2009-10-23 07:52:51.000000000 +0000
-+++ Switch.pm
-@@ -146,7 +146,7 @@ sub filter_blocks
-                               die "Bad $keyword statement (problem in the code block?) near $Switch::file line ", line(substr($source,0, pos $source), $line), "\n";
-                       };
-                       my $code = filter_blocks(substr($source,$pos[0],$pos[4]-$pos[0]),line(substr($source,0,$pos[0]),$line));
--                      $code =~ s/{/{ local \$::_S_W_I_T_C_H; Switch::switch $arg;/;
-+                      $code =~ s/{/{ local \$::_S_W_I_T_C_H; Switch::switch($arg);/;
-                       $text .= $code . 'continue {last}';
-                       next component;
-               }



Home | Main Index | Thread Index | Old Index