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 20181120



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7c2e9fd11d69
branches:  trunk
changeset: 325780:7c2e9fd11d69
user:      wen <wen%pkgsrc.org@localhost>
date:      Sun Nov 25 14:51:02 2018 +0000

description:
Update to 20181120

Upstream changes:
## 2018 11 20

    - fix RT#127736 Perl-Tidy-20181119 has the EXE_FILES entry commented out in
      Makefile.PL so it doesn't install the perltidy script or its manpage.


## 2018 11 19

    - Removed test case 'filter_example.t' which was causing a failure on a
      Windows installation for unknown reasons, possibly due to an unexpected
      perltidyrc being read by the test script.  Added VERSION numbers to all
      new modules.

## 2018 11 17

    - Fixed RT #126965, in which a ternary operator was misparsed if immediately
      following a function call without arguments, such as:
        my $restrict_customer = shift ? 1 : 0;

    - Fixed RT #125012: bug in -mangle --delete-all-comments
      A needed blank space before bareword tokens was being removed when comments
      were deleted

    - Fixed RT #81852: Stacked containers and quoting operators. Quoted words
      (qw) delimited by container tokens ('{', '[', '(', '<') are now included in
      the --weld-nested (-wn) flag:

          # perltidy -wn
          use_all_ok( qw{
                PPI
                PPI::Tokenizer
                PPI::Lexer
                PPI::Dumper
                PPI::Find
                PPI::Normal
                PPI::Util
                PPI::Cache
                } );

    - The cuddled-else (-ce) coding was merged with the new cuddled-block (-cb)
      coding.  The change is backward compatible and simplifies input.
      The --cuddled-block-option=n (-cbo=n) flag now applies to both -ce and -cb
      formatting.  In fact the -cb flag is just an alias for -ce now.

    - Fixed RT #124594, license text desc. changed from 'GPL-2.0+' to 'gpl_2'

    - Fixed bug in which a warning about a possible code bug was issued in a
      script with brace errors.

    - added option --notimestamp or -nts to eliminate any time stamps in output
      files.  This is used to prevent differences in test scripts from causing
      failure at installation. For example, the -cscw option will put a date
      stamp on certain closing side comments. We need to avoid this in order
      to test this feature in an installation test.

    - Fixed bug with the entab option, -et=8, in which the leading space of
      some lines was was not entabbed.  This happened in code which was adjusted
      for vertical alignment and in hanging side comments. Thanks to Glenn.

    - Fixed RT #127633, undesirable line break after return when -baao flag is set

    - Fixed RT #127035, vertical alignment. Vertical alignment has been improved
      in several ways.  Thanks especially to Michael Wardman and Glenn for sending
      helpful snippets.

      - Alignment of the =~ operators has been reactivated.

          OLD:
          $service_profile =~ s/^\s+|\s+$//g;
          $host_profile =~ s/^\s+|\s+$//g;

          NEW:
          $service_profile =~ s/^\s+|\s+$//g;
          $host_profile    =~ s/^\s+|\s+$//g;

      - Alignment of the // operator has been reactivated.

          OLD:
          is( pop // 7,       7, 'pop // ... works' );
          is( pop() // 7,     0, 'pop() // ... works' );
          is( pop @ARGV // 7, 3, 'pop @array // ... works' );

          NEW:
          is( pop       // 7, 7, 'pop // ... works' );
          is( pop()     // 7, 0, 'pop() // ... works' );
          is( pop @ARGV // 7, 3, 'pop @array // ... works' );

      - The rules for alignment of just two lines have been adjusted,
        hopefully to be a little better overall.  In some cases, two
        lines which were previously unaligned are now aligned, and vice-versa.

          OLD:
          $expect = "1$expect" if $expect =~ /^e/i;
          $p = "1$p" if defined $p and $p =~ /^e/i;

          NEW:
          $expect = "1$expect" if $expect =~ /^e/i;
          $p      = "1$p"      if defined $p and $p =~ /^e/i;


    - RT #106493; source code repository location has been added to docs; it is
         https://github.com/perltidy/perltidy

    - The packaging for this version has changed. The Tidy.pm module is much
      smaller.  Supporting modules have been split out from it and placed below
      it in the path Perl/Tidy/*.

    - A number of new installation test cases have been added. Updates are now
      continuously tested at Travis CI against versions back to Perl 5.08.

diffstat:

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

diffs (29 lines):

diff -r a28349d4fe94 -r 7c2e9fd11d69 devel/p5-Perl-Tidy/Makefile
--- a/devel/p5-Perl-Tidy/Makefile       Sun Nov 25 14:45:44 2018 +0000
+++ b/devel/p5-Perl-Tidy/Makefile       Sun Nov 25 14:51:02 2018 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.36 2018/08/22 09:44:31 wiz Exp $
+# $NetBSD: Makefile,v 1.37 2018/11/25 14:51:02 wen Exp $
 
-DISTNAME=      Perl-Tidy-20180220
+DISTNAME=      Perl-Tidy-20181120
 PKGNAME=       p5-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    devel perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Perl/}
 
diff -r a28349d4fe94 -r 7c2e9fd11d69 devel/p5-Perl-Tidy/distinfo
--- a/devel/p5-Perl-Tidy/distinfo       Sun Nov 25 14:45:44 2018 +0000
+++ b/devel/p5-Perl-Tidy/distinfo       Sun Nov 25 14:51:02 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.20 2018/02/21 07:39:42 wen Exp $
+$NetBSD: distinfo,v 1.21 2018/11/25 14:51:02 wen Exp $
 
-SHA1 (Perl-Tidy-20180220.tar.gz) = 2c207a76b69cc3ecf73b6e4a9583e3c745585fd3
-RMD160 (Perl-Tidy-20180220.tar.gz) = c17681a04a432dd8c0627ca8ac21da79f34ff310
-SHA512 (Perl-Tidy-20180220.tar.gz) = 93bdf2c18efdd9d62d5bb666ded9d9502a722370049a2a51f9d41107d7fa67acd91dfdd184a11eaab287f11a901ad686585e959f09407b0493719d19ce5d842e
-Size (Perl-Tidy-20180220.tar.gz) = 464114 bytes
+SHA1 (Perl-Tidy-20181120.tar.gz) = 3a44283b478291b4e13d168268076c96bd64294b
+RMD160 (Perl-Tidy-20181120.tar.gz) = 25d3212ba318c5a15c09832112d7daf7ffe2a5ce
+SHA512 (Perl-Tidy-20181120.tar.gz) = 5b75178f9fd874fa173a562d765091c66a8fc56b1efc16ace9cf0f6215688d7a334b7d68255aad20aa9da87bf79f9cc72604a52c56398952157512f01e53b5ca
+Size (Perl-Tidy-20181120.tar.gz) = 566087 bytes



Home | Main Index | Thread Index | Old Index