pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-Perl-Critic Update from version 1.092 to 1.09...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b1dd23cdd70f
branches:  trunk
changeset: 552496:b1dd23cdd70f
user:      he <he%pkgsrc.org@localhost>
date:      Sun Jan 04 23:06:29 2009 +0000

description:
Update from version 1.092 to 1.094.001 (upstream 1.094001).

Pkgsrc changes:
 o Change to Module::Build

Upstream changes:

[1.094001] Released on 2009-01-01

    Bug Fixes:
    * Tests would fail on systems without Regexp::Parser installed.

[1.094] Released on 2009-01-01

    Incompatible Changes:
    * The way that "## no critic" markers was refactored.  As
      a result, we discovered that the syntax for the markers was pretty
      vague.  If you didn't do it just right, it would disable all policies,
      and not just the specific ones that you wanted.  So we've tightened this
      up a bit.  If you followed the examples that have been in the docs for
      the last couple years, then you should be fine.  But if you've been
      using certain other variations in your "## no critic" markers, then you
      might suddenly find yourself violating the new
      ProhibtUnrestrictedNoCritic policy.  To fix this, just make sure your
      Policy names appear in parentheses:

        ## no critic Foo, Bar, Baz     # wrong!
        ## no critic Foo Bar Baz       # wrong!


        ## no critic (Foo, Bar, Baz)   # ok!
        ## no critic qw(Foo Bar Baz)   # also ok!

    * The deprecated $FORMAT variables for Perl::Critic::Policy and
      Perl::Critic::Violation no longer exist.  Use the corresponding
      get_format() and set_format() functions instead.

    New Policies:
    * Miscellanea::ProhibitUnrestrictedNoCritic
    * Miscellanea::ProhibitUselessNoCritic
    * NamingConventions::Capitalization
    * Subroutines::ProhibitReturnSort
    * Variables::ProhibitReusedNames

    Removed Policies:
    * NamingConventions::ProhibitMixedCaseSubs and
      NamingConventions::ProhibitMixedCaseVars have been moved to a separate
      Perl-Critic-Deprecated distribution.  The
      NamingConventions::Capitalization policy does everything they do, plus
      more.

    Policy Changes:
    * BuiltinFunctions::ProhibitStringyEval now has an allow_includes option
      that makes it behave (mostly) like Ricardo SIGNES'
      Perl::Critic::Policy::Lax::ProhibitStringyEval::ExceptForRequire.
    * InputOutput::RequireCheckedClose, InputOutput::RequireCheckedOpen, and
      InputOutput::RequireCheckedSyscalls now all support autodie.
      Unfortunately, autodie is currently treated like a module and not a
      pragma, which means that the lexical scoping is not taken into account.
    * InputOutput::RequireCheckedSyscalls now has an exclude_functions
      parameter.
    * Modules::ProhibitEvilModules now allows you to specify what the
      description of a use of a bad module should be, to, say, suggest that
      people use autodie instead of Fatal.
    * Subroutine::ProhibitExcessComplexity violation descriptions now include
      the name of the subroutine, thanks to Andreas Koenig, RT #40070.
    * TestingAndDebugging::RequireUseStrict and
      TestingAndDebugging::RequireUseWarnings now have equivalent_modules
      parameters that allow you to designate other modules as being equivalent
      to the strict and warnings pragmata.  This one is for all you Moose fans
      out there.  :]

    Bug Fixes:
    * ControlStructures::ProhibitUnreachableCode would treat package
      statements as unreachable.  Fixed by Kevin Ryde.  RT #41734
    * Fix warning from InputOutput::ProhibitOneArgSelect when select was
      called with no arguments.  RT #41926
    * Miscellanea::RequireRcsKeywords couldn't find keywords after __END__
      that didn't look like part of POD.
    * Modules::RequireFilenameMatchesPackage would incorrectly complain about
      programs.  Yet more greatness contributed by Schwern.  RT #39024.
    * If a perlcriticrc file referred to a policy that wasn't installed and
      the profile-strictness option was set to "fatal",
      Perl::Critic::PolicyFactory fell over instead of reporting the
      problematic policy name.

    Miscellanea:
    * Perl::Critic::Violation will automatically strip trailing periods
      from your Policy description and explanation strings.  This ensures that
      the punctuation is consistent with the format specified by the user via
      the -verbose formatting options.

    New Developer Features:
    * Perl::Critic::Policy::prepare_to_scan_document() is now checked and a
      Policy can disable itself for just a single document, which can speed
      things up.

[1.093_03] Released on 2008-12-11
[1.093_02] Released on 2008-10-30
[1.093_01] Released on 2008-09-07

    Changes summarized into 1.094 above.  For exact details, see Changes in
    1.093_003 on BackPAN.

diffstat:

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

diffs (36 lines):

diff -r 466a80a1ce3c -r b1dd23cdd70f devel/p5-Perl-Critic/Makefile
--- a/devel/p5-Perl-Critic/Makefile     Sun Jan 04 22:37:19 2009 +0000
+++ b/devel/p5-Perl-Critic/Makefile     Sun Jan 04 23:06:29 2009 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.6 2008/11/17 04:49:00 he Exp $
+# $NetBSD: Makefile,v 1.7 2009/01/04 23:06:29 he Exp $
 #
 
-DISTNAME=      Perl-Critic-1.092
-PKGNAME=       p5-${DISTNAME}
+DISTNAME=      Perl-Critic-1.094001
+PKGNAME=       p5-${DISTNAME:C/0[0-9][0-9]$/.&/}
 CATEGORIES=    devel perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Perl/}
 
@@ -25,6 +25,7 @@
 
 USE_LANGUAGES= # empty
 PERL5_PACKLIST=        auto/Perl/Critic/.packlist
+PERL5_MODULE_TYPE=     Module::Build
 
 .include "../../lang/perl5/module.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 466a80a1ce3c -r b1dd23cdd70f devel/p5-Perl-Critic/distinfo
--- a/devel/p5-Perl-Critic/distinfo     Sun Jan 04 22:37:19 2009 +0000
+++ b/devel/p5-Perl-Critic/distinfo     Sun Jan 04 23:06:29 2009 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2008/11/17 04:49:00 he Exp $
+$NetBSD: distinfo,v 1.4 2009/01/04 23:06:29 he Exp $
 
-SHA1 (Perl-Critic-1.092.tar.gz) = 64e9e4af3b4f1651b7623a4ab39c033e95f4c15f
-RMD160 (Perl-Critic-1.092.tar.gz) = 02c9bf37e8d81b7523f7b8642403ae4e65eceb28
-Size (Perl-Critic-1.092.tar.gz) = 377192 bytes
+SHA1 (Perl-Critic-1.094001.tar.gz) = 7571f070d4af4c585670204b9f9cc50eff1cceec
+RMD160 (Perl-Critic-1.094001.tar.gz) = 7407661beca718e92d9bbbaddb434593a7f52b42
+Size (Perl-Critic-1.094001.tar.gz) = 402601 bytes



Home | Main Index | Thread Index | Old Index