pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/p5-Perl-Tidy



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Sep 13 07:54:02 UTC 2020

Modified Files:
        pkgsrc/devel/p5-Perl-Tidy: Makefile distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 pkgsrc/devel/p5-Perl-Tidy/Makefile
cvs rdiff -u -r1.25 -r1.26 pkgsrc/devel/p5-Perl-Tidy/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/p5-Perl-Tidy/Makefile
diff -u pkgsrc/devel/p5-Perl-Tidy/Makefile:1.43 pkgsrc/devel/p5-Perl-Tidy/Makefile:1.44
--- pkgsrc/devel/p5-Perl-Tidy/Makefile:1.43     Mon Sep  7 09:50:47 2020
+++ pkgsrc/devel/p5-Perl-Tidy/Makefile  Sun Sep 13 07:54:02 2020
@@ -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/}

Index: pkgsrc/devel/p5-Perl-Tidy/distinfo
diff -u pkgsrc/devel/p5-Perl-Tidy/distinfo:1.25 pkgsrc/devel/p5-Perl-Tidy/distinfo:1.26
--- pkgsrc/devel/p5-Perl-Tidy/distinfo:1.25     Mon Sep  7 09:50:47 2020
+++ pkgsrc/devel/p5-Perl-Tidy/distinfo  Sun Sep 13 07:54:02 2020
@@ -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