X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FTask-Devel-Cover-Recommended.git;a=blobdiff_plain;f=Makefile.PL;h=3770d90c462f13781e53b4f5dd20f6cc62b8dc45;hp=fa2dec9677d339755bf1f3de6074c097fc397710;hb=2a21a426b896eca2c5be843f178467d4409b969c;hpb=e5fd0b219dae4e6e93563f5b7a763c0fdf49c87e diff --git a/Makefile.PL b/Makefile.PL index fa2dec9..3770d90 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -11,19 +11,18 @@ 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::Differences' => '0', + 'Test::More' => '0', + 'Test::Warn' => '0', +}; +my $RUN_PREREQS = { 'Browser::Open' => '0', 'Digest::MD5' => '0', 'JSON::PP' => '0', @@ -33,20 +32,14 @@ my %DC_PREREQ_PM = ( 'Pod::Coverage::CountParents' => '0', 'Storable' => '0', 'Template' => '2.00', -); + 'Devel::Cover' => '0.93', +}; 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 +54,7 @@ WriteMakefile( VERSION_FROM => $file, ABSTRACT_FROM => $file, PL_FILES => {}, - PREREQ_PM => \%DC_PREREQ_PM, + PREREQ_PM => $RUN_PREREQS, MIN_PERL_VERSION => '5.008002', META_MERGE => \%META, dist => {