Sun Nov 25 14:51:03 2018 UTC ()
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.


(wen)
diff -r1.36 -r1.37 pkgsrc/devel/p5-Perl-Tidy/Makefile
diff -r1.20 -r1.21 pkgsrc/devel/p5-Perl-Tidy/distinfo

cvs diff -r1.36 -r1.37 pkgsrc/devel/p5-Perl-Tidy/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/p5-Perl-Tidy/Makefile 2018/08/22 09:44:31 1.36
+++ pkgsrc/devel/p5-Perl-Tidy/Makefile 2018/11/25 14:51:02 1.37
@@ -1,18 +1,17 @@ @@ -1,18 +1,17 @@
1# $NetBSD: Makefile,v 1.36 2018/08/22 09:44:31 wiz Exp $ 1# $NetBSD: Makefile,v 1.37 2018/11/25 14:51:02 wen Exp $
2 2
3DISTNAME= Perl-Tidy-20180220 3DISTNAME= Perl-Tidy-20181120
4PKGNAME= p5-${DISTNAME} 4PKGNAME= p5-${DISTNAME}
5PKGREVISION= 1 
6CATEGORIES= devel perl5 5CATEGORIES= devel perl5
7MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Perl/} 6MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Perl/}
8 7
9MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://perltidy.sourceforge.net/ 9HOMEPAGE= http://perltidy.sourceforge.net/
11#HOMEPAGE= http://search.cpan.org/dist/Perl-Tidy/ 10#HOMEPAGE= http://search.cpan.org/dist/Perl-Tidy/
12COMMENT= Parses and beautifies perl source 11COMMENT= Parses and beautifies perl source
13LICENSE= gnu-gpl-v2 12LICENSE= gnu-gpl-v2
14 13
15PERL5_PACKLIST= auto/Perl/Tidy/.packlist 14PERL5_PACKLIST= auto/Perl/Tidy/.packlist
16 15
17.include "../../lang/perl5/module.mk" 16.include "../../lang/perl5/module.mk"
18.include "../../mk/bsd.pkg.mk" 17.include "../../mk/bsd.pkg.mk"

cvs diff -r1.20 -r1.21 pkgsrc/devel/p5-Perl-Tidy/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/p5-Perl-Tidy/distinfo 2018/02/21 07:39:42 1.20
+++ pkgsrc/devel/p5-Perl-Tidy/distinfo 2018/11/25 14:51:02 1.21
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.20 2018/02/21 07:39:42 wen Exp $ 1$NetBSD: distinfo,v 1.21 2018/11/25 14:51:02 wen Exp $
2 2
3SHA1 (Perl-Tidy-20180220.tar.gz) = 2c207a76b69cc3ecf73b6e4a9583e3c745585fd3 3SHA1 (Perl-Tidy-20181120.tar.gz) = 3a44283b478291b4e13d168268076c96bd64294b
4RMD160 (Perl-Tidy-20180220.tar.gz) = c17681a04a432dd8c0627ca8ac21da79f34ff310 4RMD160 (Perl-Tidy-20181120.tar.gz) = 25d3212ba318c5a15c09832112d7daf7ffe2a5ce
5SHA512 (Perl-Tidy-20180220.tar.gz) = 93bdf2c18efdd9d62d5bb666ded9d9502a722370049a2a51f9d41107d7fa67acd91dfdd184a11eaab287f11a901ad686585e959f09407b0493719d19ce5d842e 5SHA512 (Perl-Tidy-20181120.tar.gz) = 5b75178f9fd874fa173a562d765091c66a8fc56b1efc16ace9cf0f6215688d7a334b7d68255aad20aa9da87bf79f9cc72604a52c56398952157512f01e53b5ca
6Size (Perl-Tidy-20180220.tar.gz) = 464114 bytes 6Size (Perl-Tidy-20181120.tar.gz) = 566087 bytes