X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FScope-Context.git;a=blobdiff_plain;f=Makefile.PL;h=18e7a18da1f745947967cbcea3024b10b242e8ec;hp=5fad2e717c8508f549c74b0bf94d1a067bbeea57;hb=HEAD;hpb=c7026b73f65000dc66bd89e44f5c95538f823ccf diff --git a/Makefile.PL b/Makefile.PL index 5fad2e7..18e7a18 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -12,8 +12,16 @@ my $dist = 'Scope-Context'; $file = "lib/$file.pm"; my %PREREQ_PM = ( - 'Scope::Upper' => '0.18', + 'Carp' => 0, + 'Scope::Upper' => '0.21', 'Scalar::Util' => 0, + 'overload' => 0, +); + +my %BUILD_REQUIRES = ( + 'ExtUtils::MakeMaker' => 0, + 'Test::More' => 0, + %PREREQ_PM, ); my %META = ( @@ -21,13 +29,11 @@ my %META = ( 'ExtUtils::MakeMaker' => 0, }, build_requires => { - 'ExtUtils::MakeMaker' => 0, - 'Test::More' => 0, - %PREREQ_PM, + %BUILD_REQUIRES, }, dynamic_config => 0, resources => { - bugtracker => "http://rt.cpan.org/NoAuth/ReportBug.html?Queue=$dist", + bugtracker => "http://rt.cpan.org/Dist/Display.html?Name=$dist", homepage => "http://search.cpan.org/dist/$dist/", license => 'http://dev.perl.org/licenses/', repository => "http://git.profvince.com/?p=perl%2Fmodules%2F$dist.git", @@ -41,14 +47,15 @@ WriteMakefile( VERSION_FROM => $file, ABSTRACT_FROM => $file, PL_FILES => {}, + BUILD_REQUIRES => \%BUILD_REQUIRES, PREREQ_PM => \%PREREQ_PM, - MIN_PERL_VERSION => 5.006, + MIN_PERL_VERSION => '5.006', META_MERGE => \%META, dist => { PREOP => "pod2text -u $file > \$(DISTVNAME)/README", COMPRESS => 'gzip -9f', SUFFIX => 'gz' }, clean => { - FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt" + FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt*" } );