diff options
author | nia <nia@pkgsrc.org> | 2020-03-25 11:18:31 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2020-03-25 11:18:31 +0000 |
commit | d4b1245d579e7f05ea165c0f7fd46ae744d17434 (patch) | |
tree | ae73d633e54decdfb24cd6a754e2cfb08a6584a0 /devel | |
parent | 73b1be8dfc3636120c4f61891c1d630b5ab365d3 (diff) | |
download | pkgsrc-d4b1245d579e7f05ea165c0f7fd46ae744d17434.tar.gz |
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 (limited to 'devel')
-rw-r--r-- | devel/p5-Perl-Tidy/Makefile | 4 | ||||
-rw-r--r-- | devel/p5-Perl-Tidy/distinfo | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/devel/p5-Perl-Tidy/Makefile b/devel/p5-Perl-Tidy/Makefile index ff19ac40dd8..6a7c2b86e08 100644 --- a/devel/p5-Perl-Tidy/Makefile +++ b/devel/p5-Perl-Tidy/Makefile @@ -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 --git a/devel/p5-Perl-Tidy/distinfo b/devel/p5-Perl-Tidy/distinfo index c79ccdfc0e1..0d6d6afe06f 100644 --- a/devel/p5-Perl-Tidy/distinfo +++ b/devel/p5-Perl-Tidy/distinfo @@ -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 |