Tue Jul 7 20:05:26 2009 UTC ()
pkgsrc changes:
  - Updating Perl-Tidy from 20071205 to 20090616
  - Setting license to gnu-gpl-v2

Upstream changes:
  2009 06 16
     - Allow configuration file to be 'perltidy.ini' for Windows systems.
       i.e. C:\Documents and Settings\User\perltidy.ini
       and added documentation for setting configuation file under Windows in man
       page.  Thanks to Stuart Clark.

     - Corrected problem of unwanted semicolons in hash ref within given/when code.
      Thanks to Nelo Onyiah.

     - added new flag -cscb or --closing-side-comments-balanced
      When using closing-side-comments, and the closing-side-comment-maximum-text
      limit is exceeded, then the comment text must be truncated.  Previous
      versions of perltidy terminate with three dots, and this can still be
      achieved with -ncscb:

   perltidy -csc -ncscb

       } ## end foreach my $foo (sort { $b cmp $a ...

  However this causes a problem with older editors which cannot recognize
      comments or are not configured to doso because they cannot "bounce" around in
      the text correctly.  The B<-cscb> flag tries to help them by
      appending appropriate terminal balancing structure:

   perltidy -csc -cscb

       } ## end foreach my $foo (sort { $b cmp $a ... })

  Since there is much to be gained and little to be lost by doing this,
      the default is B<-cscb>.  Use B<-ncscb> if you do not want this.

      Thanks to Daniel Becker for suggesting this option.

     - After an isolated closing eval block the continuation indentation will be
       removed so that the braces line up more like other blocks.  Thanks to Yves Orton.

     OLD:
        eval {
            #STUFF;
            1;    # return true
          }
          or do {
            #handle error
          };

     NEW:
        eval {
            #STUFF;
            1;    # return true
        } or do {
            #handle error
        };

     -A new flag -asbl (or --opening-anonymous-sub-brace-on-new-line) has
      been added to put the opening brace of anonymous sub's on a new line,
      as in the following snippet:

        my $code = sub
        {
            my $arg = shift;
            return $arg->(@_);
        };

      This was not possible before because the -sbl flag only applies to named
      subs. Thanks to Benjamin Krupp.

     -Fix tokenization bug with the following snippet
       print 'hi' if { x => 1, }->{x};
      which resulted in a semicolon being added after the comma.  The workaround
      was to use -nasc, but this is no longer necessary.  Thanks to Brian Duggan.

     -Fixed problem in which an incorrect error message could be triggered
     by the (unusual) combination of parameters  -lp -i=0 -l=2 -ci=0 for
     example.  Thanks to Richard Jelinek.

     -A new flag --keep-old-blank-lines=n has been added to
     give more control over the treatment of old blank lines in
     a script.  The manual has been revised to discuss the new
     flag and clarify the treatment of old blank lines.  Thanks
     to Oliver Schaefer.


(sno)
diff -r1.11 -r1.12 pkgsrc/devel/p5-Perl-Tidy/Makefile
diff -r1.6 -r1.7 pkgsrc/devel/p5-Perl-Tidy/distinfo

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

--- pkgsrc/devel/p5-Perl-Tidy/Makefile 2008/12/18 23:22:21 1.11
+++ pkgsrc/devel/p5-Perl-Tidy/Makefile 2009/07/07 20:05:26 1.12
@@ -1,21 +1,22 @@ @@ -1,21 +1,22 @@
1# $NetBSD: Makefile,v 1.11 2008/12/18 23:22:21 he Exp $ 1# $NetBSD: Makefile,v 1.12 2009/07/07 20:05:26 sno Exp $
2# 2#
3 3
4DISTNAME= Perl-Tidy-20071205 4DISTNAME= Perl-Tidy-20090616
5PKGNAME= p5-${DISTNAME} 5PKGNAME= p5-${DISTNAME}
6SVR4_PKGNAME= p5pt 6SVR4_PKGNAME= p5pt
7CATEGORIES= devel perl5 7CATEGORIES= devel perl5
8MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=perltidy/} 8MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=perltidy/}
9 9
10MAINTAINER= pkgsrc-users@NetBSD.org 10MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= http://perltidy.sourceforge.net/ 11HOMEPAGE= http://perltidy.sourceforge.net/
12#HOMEPAGE= http://search.cpan.org/dist/Perl-Tidy/ 12#HOMEPAGE= http://search.cpan.org/dist/Perl-Tidy/
13COMMENT= Parses and beautifies perl source 13COMMENT= Parses and beautifies perl source
 14LICENSE= gnu-gpl-v2
14 15
15PKG_INSTALLATION_TYPES= overwrite pkgviews 16PKG_INSTALLATION_TYPES= overwrite pkgviews
16PKG_DESTDIR_SUPPORT= user-destdir 17PKG_DESTDIR_SUPPORT= user-destdir
17 18
18PERL5_PACKLIST= auto/Perl/Tidy/.packlist 19PERL5_PACKLIST= auto/Perl/Tidy/.packlist
19 20
20.include "../../lang/perl5/module.mk" 21.include "../../lang/perl5/module.mk"
21.include "../../mk/bsd.pkg.mk" 22.include "../../mk/bsd.pkg.mk"

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

--- pkgsrc/devel/p5-Perl-Tidy/distinfo 2008/12/18 23:22:21 1.6
+++ pkgsrc/devel/p5-Perl-Tidy/distinfo 2009/07/07 20:05:26 1.7
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.6 2008/12/18 23:22:21 he Exp $ 1$NetBSD: distinfo,v 1.7 2009/07/07 20:05:26 sno Exp $
2 2
3SHA1 (Perl-Tidy-20071205.tar.gz) = 833c30e436e1a1d091ccc518696843a28a284ae7 3SHA1 (Perl-Tidy-20090616.tar.gz) = e14d4ec61e546a3208f3e790edacc500431c6253
4RMD160 (Perl-Tidy-20071205.tar.gz) = cb82efeae11d71b9651b5d315617ea3c48958843 4RMD160 (Perl-Tidy-20090616.tar.gz) = 66ac8463c079cc030063271961260933b5fdb549
5Size (Perl-Tidy-20071205.tar.gz) = 376719 bytes 5Size (Perl-Tidy-20090616.tar.gz) = 383497 bytes