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 p5-Perl-Critic from versio...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8583687effff
branches: trunk
changeset: 398400:8583687effff
user: seb <seb%pkgsrc.org@localhost>
date: Sat Aug 29 23:27:50 2009 +0000
description:
Update p5-Perl-Critic from version 1.103 to version 1.104.
Pkgsrc changes:
- Adjust/fix dependencies
Upstream changes:
[1.104] Released 2009-08-23
This release is dedicated to Tom Wyant in appreciation of the amount of
effort he put into the enhancements and bug fixes in this release, for
having the patience to wait for the amount of time that it took to get
them out, and for overall awesomeness. Thank you, Tom.
New Policies:
Objects::ProhibitIndirectSyntax
ValuesAndExpressions::ProhibitComplexVersion
ValuesAndExpressions::RequireConstantVersion
New Optional Requirement:
* Email::Address, if you want
ValuesAndExpressions::ProhibitInterpolationOfLiterals to properly ignore
emaila addresses.
New Features:
* Perlcritic will list the names of files with violations if given the
--files-with-violations option, or the names of files without
violations if given the --files-without-violations options. These
have synonyms -l and -L respectively.
* Perlcritic has a new --list-enabled option, which lists the Policies
that will be enforced, given the current configuration. This is
useful if you've written a complex command-line or modified your
.perlcriticrc file and you want to see which Policies *would*
be used with the current configuration, if you were actually going
to critque a file with it.
* Perl::Critic::Violation now takes #line directives into account in the
%F, %f, and %l formats. You can get the old values via the new %G, %g,
and %L formats.
Policy Changes:
* CodeLayout::ProhibitParensWithBuiltins was complaining in certain cases
where parentheses are required due to operator precedence. RT #46862.
* ControlStructures::ProhibitMutatingListFunctions no longer complains
about uses of tr/// that don't modify the operand. Reported by EDAVIS,
RT #44515.
* Miscellanea::RequireRcsKeywords now accepts "qw$Keyword: ...$". RT
#45196.
* Modules::RequireFilenameMatchesPackage now respects logical filenames
defined by the "#line" directives. This allows the Policy to work
properly with IDEs and code generators.
* NamingConventions::Capitalization now allows fully qualified subroutine
declarations ( e.g. "sub Foo::Bar::baz {...}" ). However, the
non-package part of the subroutine name must still conform to whatever
capitalization rule you have chosen.
* RegularExpressions::ProhibitCaptureWithoutTest no longer complains if
the regex is followed by an "or die" or similar. Reported by EDAVIS,
RT #36081.
* RegularExpressions::ProhibitComplexRegexes no longer counts variable
substitutions in the length. Reported by EDAVIS, RT #36098.
* RegularExpressions::ProhibitUnusedCapture now considers the body of
while loops and not just their condition. Reported by EDAVIS, RT
#38942.
* ValuesAndExpressions::ProhibitInterpolationOfLiterals can now properly
ignore email addresses if you have Email::Address installed.
* ValuesAndExpressions::ProhibitVersionStrings was getting confused by
comments. Reported by Kevin Ryde, RT #44986.
* ValuesAndExpressions::RequireInterpolationOfMetachars now allows sigils
in the arguments to "use vars". Contributed by Kevin Ryde, RT #47318.
* ValuesAndExpressions::RequireInterpolationOfMetachars now properly
ignores email addesses, if you have Email::Address installed. Inspired
by the Kevin Ryde contribution in RT #47318.
* Variables::ProhibitPunctuationVars gained the ability to look inside
interpolated strings. Doing this correctly is challenging and things
may not work out right; how the policy does this can be controlled via
the new "string_mode" option. Contributed by Edgar Whipple
<perlmonk at misterwhipple dot com>.
* Variables::ProhibitPunctuationVars now ignores $] by default since there
is no English.pm equivalent.
Other Bug Fixes:
* Perl::Critic::Utils::parse_arg_list() was slurping up the "or die ..."
portion of "open my $foo, 'somefile' or die ...", causing
InputOutput::ProhibitTwoArgOpen to not complain about this example.
Reported by Alexandr Ciornii, RT #44554.
Minor Changes
* The line count emitted by the --statistics option is further broken down
by line content.
Minor Documentation Fixes:
* ValuesAndExpressions::ProhibitInterpolationOfLiterals. Reported by
Debian in http://bugs.debian.org/542814, RT #48936
Build Fixes:
* There wasn't a specific version given for the List::MoreUtils dependency
and we're using features that weren't avialable until 0.19. So, we now
require version 0.19. Noticed by John J. Trammell, RT #48917.
* Some tests were tied to the specific "true" and "false" values that some
functions were returning. Reported by Michael Schwern, RT #43910.
Other News:
* Komodo version 5.1.1 now has built-in support for Perl-Critic,
if you have the Perl::Critic and criticism modules installed.
Both should be available through the ActiveState Perl Package
Manager ppm(1).
diffstat:
devel/p5-Perl-Critic/Makefile | 7 ++++---
devel/p5-Perl-Critic/distinfo | 8 ++++----
2 files changed, 8 insertions(+), 7 deletions(-)
diffs (43 lines):
diff -r 0321321889cd -r 8583687effff devel/p5-Perl-Critic/Makefile
--- a/devel/p5-Perl-Critic/Makefile Sat Aug 29 23:04:55 2009 +0000
+++ b/devel/p5-Perl-Critic/Makefile Sat Aug 29 23:27:50 2009 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2009/08/09 12:50:15 sno Exp $
+# $NetBSD: Makefile,v 1.11 2009/08/29 23:27:50 seb Exp $
#
-DISTNAME= Perl-Critic-1.103
+DISTNAME= Perl-Critic-1.104
PKGNAME= p5-${DISTNAME}
#PKGNAME= p5-${DISTNAME:C/0[0-9][0-9]$/.&/}
CATEGORIES= devel perl5
@@ -18,7 +18,7 @@
DEPENDS+= p5-Config-Tiny>=2:../../devel/p5-Config-Tiny
DEPENDS+= p5-Exception-Class>=1.23:../../devel/p5-Exception-Class
DEPENDS+= p5-IO-String-[0-9]*:../../devel/p5-IO-String
-DEPENDS+= p5-List-MoreUtils-[0-9]*:../../devel/p5-List-MoreUtils
+DEPENDS+= p5-List-MoreUtils>=0.19:../../devel/p5-List-MoreUtils
DEPENDS+= {perl>=5.10,p5-Module-Pluggable>=3.1}:../../devel/p5-Module-Pluggable
DEPENDS+= p5-PPI>=1.205:../../devel/p5-PPI
DEPENDS+= p5-Readonly>=1.03:../../devel/p5-Readonly
@@ -32,6 +32,7 @@
DEPENDS+= p5-Pod-Spell>=1:../../textproc/p5-Pod-Spell
DEPENDS+= p5-Readonly-XS>=0:../../devel/p5-Readonly-XS
DEPENDS+= p5-Regexp-Parser>=0.20:../../devel/p5-Regexp-Parser
+DEPENDS+= p5-Email-Address>=1.889:../../mail/p5-Email-Address
BUILD_DEPENDS+= p5-Module-Build>=0.34000:../../devel/p5-Module-Build
diff -r 0321321889cd -r 8583687effff devel/p5-Perl-Critic/distinfo
--- a/devel/p5-Perl-Critic/distinfo Sat Aug 29 23:04:55 2009 +0000
+++ b/devel/p5-Perl-Critic/distinfo Sat Aug 29 23:27:50 2009 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.7 2009/08/09 12:50:15 sno Exp $
+$NetBSD: distinfo,v 1.8 2009/08/29 23:27:50 seb Exp $
-SHA1 (Perl-Critic-1.103.tar.gz) = 36238ac4ebf107006fb099685fd87020356c63f2
-RMD160 (Perl-Critic-1.103.tar.gz) = 850636f5add0e7936370ea5f6a45f4280c68aa54
-Size (Perl-Critic-1.103.tar.gz) = 535747 bytes
+SHA1 (Perl-Critic-1.104.tar.gz) = b8e9869802448e7d88d2e4c3b9211ebe34ddff5d
+RMD160 (Perl-Critic-1.104.tar.gz) = 242e2d5078e1f220ffe1d2a1a90667b1a49b4b72
+Size (Perl-Critic-1.104.tar.gz) = 564530 bytes
Home |
Main Index |
Thread Index |
Old Index