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 Update to 20171214



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6dd5d9f124bf
branches:  trunk
changeset: 373219:6dd5d9f124bf
user:      wen <wen%pkgsrc.org@localhost>
date:      Sat Dec 30 12:47:21 2017 +0000

description:
Update to 20171214

Upstream changes:
Perltidy Change Log
  2017 12 14
      - RT #123749, partial fix.  "Continuation indentation" is removed from lines
        with leading closing parens which are part of a call chain.
        For example, the call to pack() is is now outdented to the starting
        indentation in the following experession:

            # OLD
            $mw->Button(
                -text    => "New Document",
                -command => \&new_document
              )->pack(
                -side   => 'bottom',
                -anchor => 'e'
              );

            # NEW
            $mw->Button(
                -text    => "New Document",
                -command => \&new_document
            )->pack(
                -side   => 'bottom',
                -anchor => 'e'
            );

        This modification improves readability of complex expressions, especially
        when the user uses the same value for continuation indentation (-ci=n) and
        normal indentation (-i=n).  Perltidy was already programmed to
        do this but a minor bug was preventing it.

      - RT #123774, added flag to control space between a backslash and a single or
        double quote, requested by Robert Rothenberg.  The issue is that lines like

           $str1=\"string1";
           $str2=\'string2';

        confuse syntax highlighters unless a space is left between the backslash and
        the quote.

        The new flag to control this is -sbq=n (--space-backslash-quote=n),
        where n=0 means no space, n=1 means follow existing code, n=2 means always
        space.  The default is n=1, meaning that a space will be retained if there
        is one in the source code.

      - Fixed RT #123492, support added for indented here doc operator <<~ added
        in v5.26.  Thanks to Chris Weyl for the report.

      - Fixed docs; --closing-side-comment-list-string should have been just
        --closing-side-comment-list.  Thanks to F.Li.

      - Added patch RT #122030] Perl::Tidy sometimes does not call binmode.
        Thanks to Irilis Aelae.

      - Fixed RT #121959, PERLTIDY doesn't honor the 'three dot' notation for
        locating a config file using environment variables.  Thanks to John
        Wittkowski.

      - Minor improvements to formatting, in which some additional vertical
        aligmnemt is done. Thanks to Keith Neargarder.

      - RT #119588.  Vertical alignment is no longer done for // operator.

diffstat:

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

diffs (28 lines):

diff -r efb20de3b8e6 -r 6dd5d9f124bf devel/p5-Perl-Tidy/Makefile
--- a/devel/p5-Perl-Tidy/Makefile       Sat Dec 30 11:34:42 2017 +0000
+++ b/devel/p5-Perl-Tidy/Makefile       Sat Dec 30 12:47:21 2017 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.32 2017/09/17 12:52:57 wiz Exp $
+# $NetBSD: Makefile,v 1.33 2017/12/30 12:47:21 wen Exp $
 #
 
-DISTNAME=      Perl-Tidy-20170521
+DISTNAME=      Perl-Tidy-20171214
 PKGNAME=       p5-${DISTNAME}
 CATEGORIES=    devel perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Perl/}
diff -r efb20de3b8e6 -r 6dd5d9f124bf devel/p5-Perl-Tidy/distinfo
--- a/devel/p5-Perl-Tidy/distinfo       Sat Dec 30 11:34:42 2017 +0000
+++ b/devel/p5-Perl-Tidy/distinfo       Sat Dec 30 12:47:21 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.17 2017/09/17 12:52:57 wiz Exp $
+$NetBSD: distinfo,v 1.18 2017/12/30 12:47:21 wen Exp $
 
-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
+SHA1 (Perl-Tidy-20171214.tar.gz) = b0ad80e96b859000c02116229813892834eb9335
+RMD160 (Perl-Tidy-20171214.tar.gz) = b8acd4342f16d2c3f0682c5ff65a19f3c01f39c7
+SHA512 (Perl-Tidy-20171214.tar.gz) = bc561146f184dd0023de44741cafdcf6882ef553ed2e0c0ec8cd9a234f45b76638b4dc7edde0abfc36e4cc1f84ef908c35dc63f776de65e2abd938d35563cc65
+Size (Perl-Tidy-20171214.tar.gz) = 435256 bytes



Home | Main Index | Thread Index | Old Index