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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/efdf45cade66
branches:  trunk
changeset: 368566:efdf45cade66
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Sep 17 12:52:57 2017 +0000

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

  2017 05 21
      - Fixed debian #862667: failure to check for perltidy.ERR deletion can lead
        to overwriting abritrary files by symlink attack. Perltidy was continuing
        to write files after an unlink failure.  Thanks to Don Armstrong
        for a patch.

      - Fixed RT #116344, perltidy fails on certain anonymous hash references:
        in the following code snippet the '?' was misparsed as a pattern
        delimiter rather than a ternary operator.
            return ref {} ? 1 : 0;

      - Fixed RT #113792: misparsing of a fat comma (=>) right after
        the __END__ or __DATA__ tokens.  These keywords were getting
        incorrectly quoted by the following => operator.

      - Fixed RT #118558. Custom Getopt::Long configuration breaks parsing
        of perltidyrc.  Perltidy was resetting the users configuration too soon.

      - Fixed RT #119140, failure to parse double diamond operator.  Code to
        handle this new operator has been added.

      - Fixed RT #120968.  Fixed problem where -enc=utf8 didn't work
        with --backup-and-modify-in-place. Thanks to Heinz Knutzen for this patch.

      - Fixed minor formatting issue where one-line blocks for subs with signatures
        were unnecesarily broken

      - RT #32905, patch to fix utf-8 error when output was STDOUT.

      - RT #79947, improved spacing of try/catch/finally blocks. Thanks to qsimpleq
        for a patch.

      - Fixed #114909, Anonymous subs with signatures and prototypes misparsed as
        broken ternaries, in which a statement such as this was not being parsed
        correctly:
            return sub ( $fh, $out ) : prototype(*$) { ... }

      - Implemented RT #113689, option to introduces spaces after an opening block
        brace and before a closing block brace. Four new optional controls are
        added. The first two define the minimum number of blank lines to be
        inserted

         -blao=i or --blank-lines-after-opening-block=i
         -blbc=i or --blank-lines-before-closing-block=i

        where i is an integer, the number of lines (the default is 0).

        The second two define the types of blocks to which the first two apply

         -blaol=s or --blank-lines-after-opening-block-list=s
         -blbcl=s or --blank-lines-before-closing-block-list=s

        where s is a string of possible block keywords (default is just 'sub',
        meaning a named subroutine).

        For more information please see the documentation.

      - The method for specifying block types for certain input parameters has
        been generalized to distinguish between normal named subroutines and
        anonymous subs.  The keyword for normal subroutines remains 'sub', and
        the new keyword for anonymous subs is 'asub'.

      - Minor documentation changes. The BUGS sections now have a link
        to CPAN where most open bugs and issues can be reviewed and bug reports
        can be submitted.  The information in the AUTHOR and CREDITS sections of
        the man pages have been removed from the man pages to streamline the
        documentation. This information is still in the source code.

diffstat:

 devel/p5-Perl-Tidy/Makefile |   5 ++---
 devel/p5-Perl-Tidy/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 8 deletions(-)

diffs (30 lines):

diff -r d4901a433fd1 -r efdf45cade66 devel/p5-Perl-Tidy/Makefile
--- a/devel/p5-Perl-Tidy/Makefile       Sun Sep 17 12:51:12 2017 +0000
+++ b/devel/p5-Perl-Tidy/Makefile       Sun Sep 17 12:52:57 2017 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.31 2017/06/05 14:23:29 ryoon Exp $
+# $NetBSD: Makefile,v 1.32 2017/09/17 12:52:57 wiz Exp $
 #
 
-DISTNAME=      Perl-Tidy-20160302
+DISTNAME=      Perl-Tidy-20170521
 PKGNAME=       p5-${DISTNAME}
-PKGREVISION=   2
 CATEGORIES=    devel perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Perl/}
 
diff -r d4901a433fd1 -r efdf45cade66 devel/p5-Perl-Tidy/distinfo
--- a/devel/p5-Perl-Tidy/distinfo       Sun Sep 17 12:51:12 2017 +0000
+++ b/devel/p5-Perl-Tidy/distinfo       Sun Sep 17 12:52:57 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.16 2016/03/04 13:06:58 wen Exp $
+$NetBSD: distinfo,v 1.17 2017/09/17 12:52:57 wiz Exp $
 
-SHA1 (Perl-Tidy-20160302.tar.gz) = ac4f757013cbac99f03691ed119ac4c712ce904f
-RMD160 (Perl-Tidy-20160302.tar.gz) = 59f0b1337a77090196f7d17f49032b44d803156d
-SHA512 (Perl-Tidy-20160302.tar.gz) = 68c7cef5723df717b5b314bee2bd76f29f49194479da993764cd127ced750d5cd8193b0c6c71c19c627687385d20d3e51ea01fcd81ec69374c7edb253bcac4f1
-Size (Perl-Tidy-20160302.tar.gz) = 428484 bytes
+SHA1 (Perl-Tidy-20170521.tar.gz) = 4a564dd7505f10afcc211427b4bfe1889551f25d
+RMD160 (Perl-Tidy-20170521.tar.gz) = 1ce13d8684812bc2ef305ff2f089a8ab3ea5fd9e
+SHA512 (Perl-Tidy-20170521.tar.gz) = 5382162346e2eb1276d4790ed03208e52bfb82ecc2bc63facd5dd81e247872ff209a5aba7718997d426bd1aad5a3fc7434117b60f53dc2eaf9993df6ed9cb1e8
+Size (Perl-Tidy-20170521.tar.gz) = 432394 bytes



Home | Main Index | Thread Index | Old Index