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 20200907.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/089696ecfe3c
branches:  trunk
changeset: 438958:089696ecfe3c
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Sep 13 07:54:02 2020 +0000

description:
p5-Perl-Tidy: update to 20200907.

## 2020 09 07

    - Fixed bug git #37, an error when the combination -scbb -csc was used.
      It occurs in perltidy versions 20200110, 20200619, and 20200822.  What happens is
      that when two consecutive lines with isolated closing braces had new side
      comments generated by the -csc parameter, a separating newline was missing.
      The resulting script will not then run, but worse, if it is reformatted with
      the same parameters then closing side comments could be overwritten and data
      lost.

      This problem was found during automated random testing.  The parameter
      -scbb is rarely used, which is probably why this has not been reported.  Please
      upgrade your version.

    - Added parameter --non-indenting-braces, or -nib, which prevents
      code from indenting one level if it follows an opening brace marked
      with a special side comment, '#<<<'.  For example,

                    { #<<<   a closure to contain lexical vars

                    my $var;  # this line does not indent

                    }

                    # this line cannot 'see' $var;

      This is on by default.  If your code happens to have some
      opening braces followed by '#<<<', and you
      don't want this, you can use -nnib to deactivate it.

    - Side comment locations reset at a line ending in a level 0 open
      block, such as when a new multi-line sub begins.  This is intended to
      help keep side comments from drifting to far to the right.

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 f041d4590ec5 -r 089696ecfe3c devel/p5-Perl-Tidy/Makefile
--- a/devel/p5-Perl-Tidy/Makefile       Sun Sep 13 07:51:23 2020 +0000
+++ b/devel/p5-Perl-Tidy/Makefile       Sun Sep 13 07:54:02 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.43 2020/09/07 09:50:47 wiz Exp $
+# $NetBSD: Makefile,v 1.44 2020/09/13 07:54:02 wiz Exp $
 
-DISTNAME=      Perl-Tidy-20200822
+DISTNAME=      Perl-Tidy-20200907
 PKGNAME=       p5-${DISTNAME}
 CATEGORIES=    devel perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Perl/}
diff -r f041d4590ec5 -r 089696ecfe3c devel/p5-Perl-Tidy/distinfo
--- a/devel/p5-Perl-Tidy/distinfo       Sun Sep 13 07:51:23 2020 +0000
+++ b/devel/p5-Perl-Tidy/distinfo       Sun Sep 13 07:54:02 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.25 2020/09/07 09:50:47 wiz Exp $
+$NetBSD: distinfo,v 1.26 2020/09/13 07:54:02 wiz Exp $
 
-SHA1 (Perl-Tidy-20200822.tar.gz) = 37c48d7acfb36eab5fdc8f39a69cf74c734cb332
-RMD160 (Perl-Tidy-20200822.tar.gz) = 110900bc0797c34cf0982586f43f2e11e099f843
-SHA512 (Perl-Tidy-20200822.tar.gz) = 9fef4b27ea3077720a534eaccfb3895e75600d486822d390f213e4edc168293a657f11292836942e4dc522d1593b5199cd6a46bb6a8d870152cccf57964762ef
-Size (Perl-Tidy-20200822.tar.gz) = 657209 bytes
+SHA1 (Perl-Tidy-20200907.tar.gz) = 6c7fcda3a6dd2bcc15cb82168d108503d5d2b00c
+RMD160 (Perl-Tidy-20200907.tar.gz) = 7f3ec3f4788ec50a260a2d99b1b608e5101d400e
+SHA512 (Perl-Tidy-20200907.tar.gz) = 047a724b8fabc32ab2db3b3ba7f64fb244de4dbb55eb2c0df7cd4991876791c9e6bff238662f8c103ea180a7231f393211fe1649456b7c0b5d62fac14c349f37
+Size (Perl-Tidy-20200907.tar.gz) = 666105 bytes



Home | Main Index | Thread Index | Old Index