pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/p5-Perl-Tidy p5-Perl-Tidy: Update to 20200110
details: https://anonhg.NetBSD.org/pkgsrc/rev/525410ac681d
branches: trunk
changeset: 414308:525410ac681d
user: nia <nia%pkgsrc.org@localhost>
date: Wed Mar 25 11:18:31 2020 +0000
description:
p5-Perl-Tidy: Update to 20200110
## 2020 01 10
- This release adds a flag to control the feature RT#130394 (allow short nested blocks)
introduced in the previous release. Unfortunately that feature breaks
RPerl installations, so a control flag has been introduced and that feature is now
off by default. The flag is:
--one-line-block-nesting=n, or -olbn=n, where n is an integer as follows:
-olbn=0 break nested one-line blocks into multiple lines [new DEFAULT]
-olbn=1 stable; keep existing nested-one line blocks intact [previous DEFAULT]
For example, consider this input line:
foreach (@list) { if ($_ eq $asked_for) { last } ++$found }
The new default behavior (-olbn=0), and behavior prior to version 20191203, is to break it into multiple lines:
foreach (@list) {
if ( $_ eq $asked_for ) { last }
++$found;
}
To keep nested one-line blocks such as this on a single line you can add the parameter -olbn=1.
- Fixed issue RT#131288: parse error for un-prototyped constant function without parenthesized
call parameters followed by ternary.
- Fixed issue RT#131360, installation documentation. Added a note that the binary
'perltidy' comes with the Perl::Tidy module. They can both normally be installed with
'cpanm Perl::Tidy'
diffstat:
devel/p5-Perl-Tidy/Makefile | 4 ++--
devel/p5-Perl-Tidy/distinfo | 10 +++++-----
2 files changed, 7 insertions(+), 7 deletions(-)
diffs (27 lines):
diff -r f3fe66abc768 -r 525410ac681d devel/p5-Perl-Tidy/Makefile
--- a/devel/p5-Perl-Tidy/Makefile Wed Mar 25 11:16:13 2020 +0000
+++ b/devel/p5-Perl-Tidy/Makefile Wed Mar 25 11:18:31 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.40 2020/01/07 13:35:06 wen Exp $
+# $NetBSD: Makefile,v 1.41 2020/03/25 11:18:31 nia Exp $
-DISTNAME= Perl-Tidy-20191203
+DISTNAME= Perl-Tidy-20200110
PKGNAME= p5-${DISTNAME}
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Perl/}
diff -r f3fe66abc768 -r 525410ac681d devel/p5-Perl-Tidy/distinfo
--- a/devel/p5-Perl-Tidy/distinfo Wed Mar 25 11:16:13 2020 +0000
+++ b/devel/p5-Perl-Tidy/distinfo Wed Mar 25 11:18:31 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.23 2020/01/07 13:35:06 wen Exp $
+$NetBSD: distinfo,v 1.24 2020/03/25 11:18:31 nia Exp $
-SHA1 (Perl-Tidy-20191203.tar.gz) = 2dfa7a91edd9b5d955a235d95bfdaa2f4c1b6410
-RMD160 (Perl-Tidy-20191203.tar.gz) = d723625524625ee878f585e803d1a20da5802699
-SHA512 (Perl-Tidy-20191203.tar.gz) = 6543cdc74fadc3cfc7b23ed025783c323f3251ed57b87d770c758b3161d2b7671941e2526c55dafb402ef8498b656967374f13843f797207fb4d0551e6940824
-Size (Perl-Tidy-20191203.tar.gz) = 607789 bytes
+SHA1 (Perl-Tidy-20200110.tar.gz) = 8d5067fb03a4069f316500cd796770871afee24e
+RMD160 (Perl-Tidy-20200110.tar.gz) = 060fc9293c211136db96e2474b49146d65a7dd4d
+SHA512 (Perl-Tidy-20200110.tar.gz) = 6ff931bed73d5006752ac5c14e893700126a41657f4286b86a5b0adf3963d4fa77bb9dd007f10c096960bcb9fa92aa7e3666e52219fecbc2a0077054d0c5a171
+Size (Perl-Tidy-20200110.tar.gz) = 611243 bytes
Home |
Main Index |
Thread Index |
Old Index