Update to 20160302 Upstream changes: 2016 03 02 - RT #112534. Corrected a minor problem in which an unwanted newline was placed before the closing brace of an anonymous sub with a signature, if it was in a list. Thanks to Dmytro Zagashev. - Corrected a minor problem in which occasional extra indentation was given to the closing brace of an anonymous sub in a list when the -lp parameter was set. 2016 03 01 - RT #104427. Added support for signatures. - RT #111512. Changed global warning flag $^W = 1 to use warnings; Thanks to Dmytro Zagashev. - RT #110297, added support for new regexp modifier /n Thanks to Dmytro Zagashev. - RT #111519. The -io (--indent-only) and -dac (--delete-all-comments) can now both be used in one pass. Thanks to Dmitry Veltishev. - Patch to avoid error message with 'catch' used by TryCatch, as in catch($err){ # do something } Thanks to Nick Tonkin. - RT #32905, UTF-8 coding is now more robust. Thanks to qsimpleq and Dmytro for patches. - RT #106885. Added string bitwise operators ^. &. |. ~. ^.= &.= |.= - Fixed RT #107832 and #106492, lack of vertical alignment of two lines when -boc flag (break at old commas) is set. This bug was inadvertantly introduced in previous bug fix RT #98902. - Some common extensions to Perl syntax are handled better. In particular, the following snippet is now foratted cleanly: method deposit( Num $amount) { $self->balance( $self->balance + $amount ); } A new flag -xs (--extended-syntax) was added to enable this, and the default is to use -xs. In previous versions, and now only when -nxs is set, this snippet of code generates the following error message: "syntax error at ') {', didn't see one of: case elsif for foreach given if switch unless until when while"diff -r1.28 -r1.29 pkgsrc/devel/p5-Perl-Tidy/Makefile
(wen)
@@ -1,18 +1,18 @@ | @@ -1,18 +1,18 @@ | |||
1 | # $NetBSD: Makefile,v 1.28 2015/08/15 23:04:54 mef Exp $ | 1 | # $NetBSD: Makefile,v 1.29 2016/03/04 13:06:58 wen Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | DISTNAME= Perl-Tidy-20150815 | 4 | DISTNAME= Perl-Tidy-20160302 | |
5 | PKGNAME= p5-${DISTNAME} | 5 | PKGNAME= p5-${DISTNAME} | |
6 | CATEGORIES= devel perl5 | 6 | CATEGORIES= devel perl5 | |
7 | MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Perl/} | 7 | MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Perl/} | |
8 | 8 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= http://perltidy.sourceforge.net/ | 10 | HOMEPAGE= http://perltidy.sourceforge.net/ | |
11 | #HOMEPAGE= http://search.cpan.org/dist/Perl-Tidy/ | 11 | #HOMEPAGE= http://search.cpan.org/dist/Perl-Tidy/ | |
12 | COMMENT= Parses and beautifies perl source | 12 | COMMENT= Parses and beautifies perl source | |
13 | LICENSE= gnu-gpl-v2 | 13 | LICENSE= gnu-gpl-v2 | |
14 | 14 | |||
15 | PERL5_PACKLIST= auto/Perl/Tidy/.packlist | 15 | PERL5_PACKLIST= auto/Perl/Tidy/.packlist | |
16 | 16 | |||
17 | .include "../../lang/perl5/module.mk" | 17 | .include "../../lang/perl5/module.mk" | |
18 | .include "../../mk/bsd.pkg.mk" | 18 | .include "../../mk/bsd.pkg.mk" |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.15 2015/11/03 03:28:40 agc Exp $ | 1 | $NetBSD: distinfo,v 1.16 2016/03/04 13:06:58 wen Exp $ | |
2 | 2 | |||
3 | SHA1 (Perl-Tidy-20150815.tar.gz) = ebb236e84b388a2e9dcca0463349d1c22cc93745 | 3 | SHA1 (Perl-Tidy-20160302.tar.gz) = ac4f757013cbac99f03691ed119ac4c712ce904f | |
4 | RMD160 (Perl-Tidy-20150815.tar.gz) = 931f98006e5cce0db893249eea35f00f68e83b04 | 4 | RMD160 (Perl-Tidy-20160302.tar.gz) = 59f0b1337a77090196f7d17f49032b44d803156d | |
5 | SHA512 (Perl-Tidy-20150815.tar.gz) = 49442291df1904dbe43afad1ff59e9ddbf3d2c1ee4656a34385f26d3bd00ba06725f1b06180454a7ea17315098ee450d05024edcc28e2c4fa69be34b97ed2e67 | 5 | SHA512 (Perl-Tidy-20160302.tar.gz) = 68c7cef5723df717b5b314bee2bd76f29f49194479da993764cd127ced750d5cd8193b0c6c71c19c627687385d20d3e51ea01fcd81ec69374c7edb253bcac4f1 | |
6 | Size (Perl-Tidy-20150815.tar.gz) = 425224 bytes | 6 | Size (Perl-Tidy-20160302.tar.gz) = 428484 bytes |