Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11]) by narn.NetBSD.org (Postfix) with ESMTP id 672EE63B89A for ; Sun, 4 Jan 2009 23:06:31 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 0) id 1154163B113; Sun, 4 Jan 2009 23:06:31 +0000 (UTC) Received: from cvs.netbsd.org (unknown [IPv6:2001:4f8:4:7:2e0:81ff:fe25:eab4]) by mail.netbsd.org (Postfix) with ESMTP id 850D263B108 for ; Sun, 4 Jan 2009 23:06:29 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 6252B175D0; Sun, 4 Jan 2009 23:06:29 +0000 (UTC) From: Havard Eidnes Subject: CVS commit: pkgsrc/devel/p5-Perl-Critic To: pkgsrc-changes@NetBSD.org Reply-To: he@netbsd.org Message-Id: <20090104230629.6252B175D0@cvs.netbsd.org> Date: Sun, 4 Jan 2009 23:06:29 +0000 (UTC) Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes Precedence: list Module Name: pkgsrc Committed By: he Date: Sun Jan 4 23:06:29 UTC 2009 Modified Files: pkgsrc/devel/p5-Perl-Critic: Makefile distinfo Log Message: 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. To generate a diff of this commit: cvs rdiff -r1.6 -r1.7 pkgsrc/devel/p5-Perl-Critic/Makefile cvs rdiff -r1.3 -r1.4 pkgsrc/devel/p5-Perl-Critic/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.