Update to 20191203

Upstream changes:
2019 12 03

- Fixed issue RT#131115: -bli option not working correctly.
  Closing braces were not indented in some cases due to a glitch
  introduced in version 20181120.

- Fixed issue RT#130394: Allow short nested blocks.  Given the following

    $factorial = sub { reduce { $a * $b } 1 .. 11 };

  Previous versions would always break the sub block because it
  contains another block (the reduce block).  The fix keeps
  short one-line blocks such as this intact.

- Implement issue RT#130640: Allow different subroutine keywords.
  Added a flag --sub-alias-list=s or -sal=s, where s is a string with
  one or more aliases for 'sub', separated by spaces or commas.
  For example,

    perltidy -sal='method fun'

  will cause the perltidy to treat the words 'method' and 'fun' to be
  treated the same as if they were 'sub'.

- Added flag --space-prototype-paren=i, or -spp=i, to control spacing
  before the opening paren of a prototype, where i=0, 1, or 2:
  i=0 no space
  i=1 follow input [current and default]
  i=2 always space

  Previously, perltidy always followed the input.
  For example, given the following input

     sub usage();

  The result will be:
    sub usage();    # i=0 [no space]
    sub usage();    # i=1 [default; follows input]
    sub usage ();   # i=2 [space]

- Fixed issue git#16, minor vertical alignment issue.

- Fixed issue git#10, minor conflict of -wn and -ce

- Improved some vertical alignments involving two lines.
This commit is contained in:
wen 2020-01-07 13:35:06 +00:00
parent 146c8390ca
commit 5d52f043bb
2 changed files with 7 additions and 7 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.39 2019/10/27 14:04:38 mef Exp $
# $NetBSD: Makefile,v 1.40 2020/01/07 13:35:06 wen Exp $
DISTNAME= Perl-Tidy-20190915
DISTNAME= Perl-Tidy-20191203
PKGNAME= p5-${DISTNAME}
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Perl/}

View file

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.22 2019/10/27 14:04:38 mef Exp $
$NetBSD: distinfo,v 1.23 2020/01/07 13:35:06 wen Exp $
SHA1 (Perl-Tidy-20190915.tar.gz) = a0c31ff78813e42f044a77cb7cdb16e9a14a5d6c
RMD160 (Perl-Tidy-20190915.tar.gz) = cd1fd37f2ac02545a43bf0dd77741f09a39bd003
SHA512 (Perl-Tidy-20190915.tar.gz) = 553d84bcba8cbe10c0a1e77ef9e31dfdc5957c758efa2bd556ff47a0a354f16eec922842a36c4ccdaed691ffecb6a5dad63dfee2b038f4d2c5882a7e07bad51f
Size (Perl-Tidy-20190915.tar.gz) = 599290 bytes
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