X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FTask-Devel-Cover-Recommended.git;a=blobdiff_plain;f=Makefile.PL;h=7af047920a81def7c7733f5fab694c47223b1480;hp=fa2dec9677d339755bf1f3de6074c097fc397710;hb=3298c6342b9a32e4fe3a71dd3d825429adb1051d;hpb=e5fd0b219dae4e6e93563f5b7a763c0fdf49c87e diff --git a/Makefile.PL b/Makefile.PL index fa2dec9..7af0479 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -11,19 +11,17 @@ my $dist = 'Task-Devel-Cover-Recommended'; (my $file = $dist) =~ s{-}{/}g; $file = "lib/$file.pm"; -my %DC_CONFIGURE = ( - 'ExtUtils::MakeMaker' => 0, -); - -my %DC_BUILD = ( - 'Test::Differences' => 0, - 'Test::More' => 0, - 'Test::Warn' => 0, -); +my $CONFIGURE_PREREQS = { + 'ExtUtils::MakeMaker' => '0', +}; -my %DC_PREREQ_PM = ( - 'Devel::Cover' => '0.93', +my $BUILD_PREREQS = { + 'ExtUtils::MakeMaker' => '0', + 'Test::More' => '0', + 'Test::Warn' => '0', +}; +my $RUN_PREREQS = { 'Browser::Open' => '0', 'Digest::MD5' => '0', 'JSON::PP' => '0', @@ -33,20 +31,14 @@ my %DC_PREREQ_PM = ( 'Pod::Coverage::CountParents' => '0', 'Storable' => '0', 'Template' => '2.00', -); + 'Devel::Cover' => '0.99', +}; my %META = ( - configure_requires => { - 'ExtUtils::MakeMaker' => 0, - %DC_CONFIGURE, - }, - build_requires => { - 'ExtUtils::MakeMaker' => 0, - 'Test::More' => 0, - %DC_BUILD, - }, - dynamic_config => 0, - resources => { + configure_requires => $CONFIGURE_PREREQS, + build_requires => $BUILD_PREREQS, + dynamic_config => 0, + resources => { bugtracker => "http://rt.cpan.org/NoAuth/ReportBug.html?Queue=$dist", homepage => "http://search.cpan.org/dist/$dist/", license => 'http://dev.perl.org/licenses/', @@ -61,7 +53,8 @@ WriteMakefile( VERSION_FROM => $file, ABSTRACT_FROM => $file, PL_FILES => {}, - PREREQ_PM => \%DC_PREREQ_PM, + BUILD_REQUIRES => $BUILD_PREREQS, + PREREQ_PM => $RUN_PREREQS, MIN_PERL_VERSION => '5.008002', META_MERGE => \%META, dist => {