From 796a12c6bf7b0439b5ad785ec2ed778ef680e722 Mon Sep 17 00:00:00 2001 From: msf Date: Tue, 24 Apr 2007 01:41:41 +0000 Subject: [PATCH] update to 1.051 and add the optional dependencies, they're useful --- devel/p5-Perl-Critic/Makefile | 11 +++++++---- devel/p5-Perl-Critic/distinfo | 10 +++++----- devel/p5-Perl-Critic/pkg/PLIST | 21 +++++++++++++++++++-- 3 files changed, 31 insertions(+), 11 deletions(-) diff --git a/devel/p5-Perl-Critic/Makefile b/devel/p5-Perl-Critic/Makefile index c1d49febc85..534029b8ce1 100644 --- a/devel/p5-Perl-Critic/Makefile +++ b/devel/p5-Perl-Critic/Makefile @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.2 2006/11/29 08:23:30 espie Exp $ +# $OpenBSD: Makefile,v 1.3 2007/04/24 01:41:41 msf Exp $ COMMENT= "sprintf-like string formatting" MODULES= cpan -DISTNAME= Perl-Critic-0.21 +DISTNAME= Perl-Critic-1.051 CATEGORIES= devel MAINTAINER= Mathieu Sauve-Frankel @@ -15,11 +15,14 @@ PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes BUILD_DEPENDS= ${RUN_DEPENDS} -RUN_DEPENDS= ::devel/p5-Config-Tiny \ +RUN_DEPENDS= ::devel/p5-B-Keywords \ + ::devel/p5-Config-Tiny \ + ::devel/p5-File-HomeDir \ ::devel/p5-Module-Pluggable \ ::textproc/p5-PPI \ ::devel/p5-Set-Scalar \ - ::devel/p5-String-Format + ::devel/p5-String-Format \ + ::devel/perltidy MAKE_ENV+= TEST_POD=Yes diff --git a/devel/p5-Perl-Critic/distinfo b/devel/p5-Perl-Critic/distinfo index 16871b796e9..82e15e2fdb1 100644 --- a/devel/p5-Perl-Critic/distinfo +++ b/devel/p5-Perl-Critic/distinfo @@ -1,5 +1,5 @@ -MD5 (Perl-Critic-0.21.tar.gz) = A1kjVXmYb3ZDjXoRgFmP6w== -RMD160 (Perl-Critic-0.21.tar.gz) = e6Cu3kwn9fUTixYSdcyw7FXg6kc= -SHA1 (Perl-Critic-0.21.tar.gz) = Y8UrYiR36aY3gMHbb8EkT5JjehI= -SHA256 (Perl-Critic-0.21.tar.gz) = UpW4UTPKiWGG8qEIZ2pMmINy/TzhayQ+n+AFYmYmhio= -SIZE (Perl-Critic-0.21.tar.gz) = 185668 +MD5 (Perl-Critic-1.051.tar.gz) = BpUqgZ/AGkX5TL2/7ijhcw== +RMD160 (Perl-Critic-1.051.tar.gz) = HfLJqcVBJI6mLKkTfeFB++yP4pI= +SHA1 (Perl-Critic-1.051.tar.gz) = V2EN78/21JpIEg/dMf/P+22FpNg= +SHA256 (Perl-Critic-1.051.tar.gz) = 5QImwT3gnzTUzDmjJkmAEWJe/0L8OnkwNOfwJtSWqr8= +SIZE (Perl-Critic-1.051.tar.gz) = 236466 diff --git a/devel/p5-Perl-Critic/pkg/PLIST b/devel/p5-Perl-Critic/pkg/PLIST index 6e07160d2fa..e5f237fa8a6 100644 --- a/devel/p5-Perl-Critic/pkg/PLIST +++ b/devel/p5-Perl-Critic/pkg/PLIST @@ -1,6 +1,5 @@ -@comment $OpenBSD: PLIST,v 1.1.1.1 2006/11/17 02:16:42 msf Exp $ +@comment $OpenBSD: PLIST,v 1.2 2007/04/24 01:41:41 msf Exp $ bin/perlcritic -${P5SITE}/Perl/ ${P5SITE}/Perl/Critic/ ${P5SITE}/Perl/Critic.pm ${P5SITE}/Perl/Critic/Config.pm @@ -31,6 +30,7 @@ ${P5SITE}/Perl/Critic/Policy/CodeLayout/ ${P5SITE}/Perl/Critic/Policy/CodeLayout/ProhibitHardTabs.pm ${P5SITE}/Perl/Critic/Policy/CodeLayout/ProhibitParensWithBuiltins.pm ${P5SITE}/Perl/Critic/Policy/CodeLayout/ProhibitQuotedWordLists.pm +${P5SITE}/Perl/Critic/Policy/CodeLayout/ProhibitTrailingWhitespace.pm ${P5SITE}/Perl/Critic/Policy/CodeLayout/RequireConsistentNewlines.pm ${P5SITE}/Perl/Critic/Policy/CodeLayout/RequireTidyCode.pm ${P5SITE}/Perl/Critic/Policy/CodeLayout/RequireTrailingCommas.pm @@ -38,6 +38,7 @@ ${P5SITE}/Perl/Critic/Policy/ControlStructures/ ${P5SITE}/Perl/Critic/Policy/ControlStructures/ProhibitCStyleForLoops.pm ${P5SITE}/Perl/Critic/Policy/ControlStructures/ProhibitCascadingIfElse.pm ${P5SITE}/Perl/Critic/Policy/ControlStructures/ProhibitDeepNests.pm +${P5SITE}/Perl/Critic/Policy/ControlStructures/ProhibitMutatingListFunctions.pm ${P5SITE}/Perl/Critic/Policy/ControlStructures/ProhibitPostfixControls.pm ${P5SITE}/Perl/Critic/Policy/ControlStructures/ProhibitUnlessBlocks.pm ${P5SITE}/Perl/Critic/Policy/ControlStructures/ProhibitUnreachableCode.pm @@ -55,6 +56,8 @@ ${P5SITE}/Perl/Critic/Policy/InputOutput/ProhibitOneArgSelect.pm ${P5SITE}/Perl/Critic/Policy/InputOutput/ProhibitReadlineInForLoop.pm ${P5SITE}/Perl/Critic/Policy/InputOutput/ProhibitTwoArgOpen.pm ${P5SITE}/Perl/Critic/Policy/InputOutput/RequireBracedFileHandleWithPrint.pm +${P5SITE}/Perl/Critic/Policy/InputOutput/RequireCheckedClose.pm +${P5SITE}/Perl/Critic/Policy/InputOutput/RequireCheckedOpen.pm ${P5SITE}/Perl/Critic/Policy/Miscellanea/ ${P5SITE}/Perl/Critic/Policy/Miscellanea/ProhibitFormats.pm ${P5SITE}/Perl/Critic/Policy/Miscellanea/ProhibitTies.pm @@ -89,10 +92,12 @@ ${P5SITE}/Perl/Critic/Policy/Subroutines/RequireFinalReturn.pm ${P5SITE}/Perl/Critic/Policy/TestingAndDebugging/ ${P5SITE}/Perl/Critic/Policy/TestingAndDebugging/ProhibitNoStrict.pm ${P5SITE}/Perl/Critic/Policy/TestingAndDebugging/ProhibitNoWarnings.pm +${P5SITE}/Perl/Critic/Policy/TestingAndDebugging/ProhibitProlongedStrictureOverride.pm ${P5SITE}/Perl/Critic/Policy/TestingAndDebugging/RequireTestLabels.pm ${P5SITE}/Perl/Critic/Policy/TestingAndDebugging/RequireUseStrict.pm ${P5SITE}/Perl/Critic/Policy/TestingAndDebugging/RequireUseWarnings.pm ${P5SITE}/Perl/Critic/Policy/ValuesAndExpressions/ +${P5SITE}/Perl/Critic/Policy/ValuesAndExpressions/ProhibitCommaSeparatedStatements.pm ${P5SITE}/Perl/Critic/Policy/ValuesAndExpressions/ProhibitConstantPragma.pm ${P5SITE}/Perl/Critic/Policy/ValuesAndExpressions/ProhibitEmptyQuotes.pm ${P5SITE}/Perl/Critic/Policy/ValuesAndExpressions/ProhibitEscapedCharacters.pm @@ -111,13 +116,16 @@ ${P5SITE}/Perl/Critic/Policy/Variables/ProhibitConditionalDeclarations.pm ${P5SITE}/Perl/Critic/Policy/Variables/ProhibitLocalVars.pm ${P5SITE}/Perl/Critic/Policy/Variables/ProhibitMatchVars.pm ${P5SITE}/Perl/Critic/Policy/Variables/ProhibitPackageVars.pm +${P5SITE}/Perl/Critic/Policy/Variables/ProhibitPerl4PackageNames.pm ${P5SITE}/Perl/Critic/Policy/Variables/ProhibitPunctuationVars.pm ${P5SITE}/Perl/Critic/Policy/Variables/ProtectPrivateVars.pm ${P5SITE}/Perl/Critic/Policy/Variables/RequireInitializationForLocalVars.pm ${P5SITE}/Perl/Critic/Policy/Variables/RequireLexicalLoopIterators.pm ${P5SITE}/Perl/Critic/Policy/Variables/RequireNegativeIndices.pm ${P5SITE}/Perl/Critic/PolicyFactory.pm +${P5SITE}/Perl/Critic/PolicyListing.pm ${P5SITE}/Perl/Critic/PolicySummary.pod +${P5SITE}/Perl/Critic/ProfilePrototype.pm ${P5SITE}/Perl/Critic/TestUtils.pm ${P5SITE}/Perl/Critic/Theme.pm ${P5SITE}/Perl/Critic/UserProfile.pm @@ -149,12 +157,14 @@ ${P5SITE}/Perl/Critic/Violation.pm @man man/man3p/Perl::Critic::Policy::CodeLayout::ProhibitHardTabs.3p @man man/man3p/Perl::Critic::Policy::CodeLayout::ProhibitParensWithBuiltins.3p @man man/man3p/Perl::Critic::Policy::CodeLayout::ProhibitQuotedWordLists.3p +@man man/man3p/Perl::Critic::Policy::CodeLayout::ProhibitTrailingWhitespace.3p @man man/man3p/Perl::Critic::Policy::CodeLayout::RequireConsistentNewlines.3p @man man/man3p/Perl::Critic::Policy::CodeLayout::RequireTidyCode.3p @man man/man3p/Perl::Critic::Policy::CodeLayout::RequireTrailingCommas.3p @man man/man3p/Perl::Critic::Policy::ControlStructures::ProhibitCStyleForLoops.3p @man man/man3p/Perl::Critic::Policy::ControlStructures::ProhibitCascadingIfElse.3p @man man/man3p/Perl::Critic::Policy::ControlStructures::ProhibitDeepNests.3p +@man man/man3p/Perl::Critic::Policy::ControlStructures::ProhibitMutatingListFunctions.3p @man man/man3p/Perl::Critic::Policy::ControlStructures::ProhibitPostfixControls.3p @man man/man3p/Perl::Critic::Policy::ControlStructures::ProhibitUnlessBlocks.3p @man man/man3p/Perl::Critic::Policy::ControlStructures::ProhibitUnreachableCode.3p @@ -169,6 +179,8 @@ ${P5SITE}/Perl/Critic/Violation.pm @man man/man3p/Perl::Critic::Policy::InputOutput::ProhibitReadlineInForLoop.3p @man man/man3p/Perl::Critic::Policy::InputOutput::ProhibitTwoArgOpen.3p @man man/man3p/Perl::Critic::Policy::InputOutput::RequireBracedFileHandleWithPrint.3p +@man man/man3p/Perl::Critic::Policy::InputOutput::RequireCheckedClose.3p +@man man/man3p/Perl::Critic::Policy::InputOutput::RequireCheckedOpen.3p @man man/man3p/Perl::Critic::Policy::Miscellanea::ProhibitFormats.3p @man man/man3p/Perl::Critic::Policy::Miscellanea::ProhibitTies.3p @man man/man3p/Perl::Critic::Policy::Miscellanea::RequireRcsKeywords.3p @@ -196,9 +208,11 @@ ${P5SITE}/Perl/Critic/Violation.pm @man man/man3p/Perl::Critic::Policy::Subroutines::RequireFinalReturn.3p @man man/man3p/Perl::Critic::Policy::TestingAndDebugging::ProhibitNoStrict.3p @man man/man3p/Perl::Critic::Policy::TestingAndDebugging::ProhibitNoWarnings.3p +@man man/man3p/Perl::Critic::Policy::TestingAndDebugging::ProhibitProlongedStrictureOverride.3p @man man/man3p/Perl::Critic::Policy::TestingAndDebugging::RequireTestLabels.3p @man man/man3p/Perl::Critic::Policy::TestingAndDebugging::RequireUseStrict.3p @man man/man3p/Perl::Critic::Policy::TestingAndDebugging::RequireUseWarnings.3p +@man man/man3p/Perl::Critic::Policy::ValuesAndExpressions::ProhibitCommaSeparatedStatements.3p @man man/man3p/Perl::Critic::Policy::ValuesAndExpressions::ProhibitConstantPragma.3p @man man/man3p/Perl::Critic::Policy::ValuesAndExpressions::ProhibitEmptyQuotes.3p @man man/man3p/Perl::Critic::Policy::ValuesAndExpressions::ProhibitEscapedCharacters.3p @@ -216,13 +230,16 @@ ${P5SITE}/Perl/Critic/Violation.pm @man man/man3p/Perl::Critic::Policy::Variables::ProhibitLocalVars.3p @man man/man3p/Perl::Critic::Policy::Variables::ProhibitMatchVars.3p @man man/man3p/Perl::Critic::Policy::Variables::ProhibitPackageVars.3p +@man man/man3p/Perl::Critic::Policy::Variables::ProhibitPerl4PackageNames.3p @man man/man3p/Perl::Critic::Policy::Variables::ProhibitPunctuationVars.3p @man man/man3p/Perl::Critic::Policy::Variables::ProtectPrivateVars.3p @man man/man3p/Perl::Critic::Policy::Variables::RequireInitializationForLocalVars.3p @man man/man3p/Perl::Critic::Policy::Variables::RequireLexicalLoopIterators.3p @man man/man3p/Perl::Critic::Policy::Variables::RequireNegativeIndices.3p @man man/man3p/Perl::Critic::PolicyFactory.3p +@man man/man3p/Perl::Critic::PolicyListing.3p @man man/man3p/Perl::Critic::PolicySummary.3p +@man man/man3p/Perl::Critic::ProfilePrototype.3p @man man/man3p/Perl::Critic::TestUtils.3p @man man/man3p/Perl::Critic::Theme.3p @man man/man3p/Perl::Critic::UserProfile.3p