X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=0bd9d9afc92ecd0eb3edd1a2eb4d3b3cff40aa34;hb=3985eb35079aa4093a80393648b42efc31cf4a13;hp=c2ed583505848ce5b60a2fb9143ba288ee291c59;hpb=285499b502ad2354d2b1f02ec4d552eab554b086;p=gitmo%2FMoo.git diff --git a/Makefile.PL b/Makefile.PL index c2ed583..0bd9d9a 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -10,17 +10,23 @@ my %BUILD_DEPS = ( ); my %RUN_DEPS = ( - 'Class::Method::Modifiers' => 1.07, - 'strictures' => 1.001001, - 'Module::Runtime' => 0.013, - 'Role::Tiny' => 1.000900, - 'Devel::GlobalDestruction' => '0.05', + 'Class::Method::Modifiers' => 1.10, + 'strictures' => 1.004003, + 'Module::Runtime' => 0.012, + 'Role::Tiny' => 1.002004, + 'Devel::GlobalDestruction' => 0.09, ); # have to do this since old EUMM dev releases miss the eval $VERSION line my $mymeta_works = do { no warnings; $ExtUtils::MakeMaker::VERSION >= 6.5707 }; my $mymeta = do { no warnings; $ExtUtils::MakeMaker::VERSION >= 6.5702 }; +my %extra_info = ( + resources => { + repository => 'git://git.shadowcat.co.uk/gitmo/Moo.git' + } +); + WriteMakefile( NAME => 'Moo', VERSION_FROM => 'lib/Moo.pm', @@ -32,15 +38,21 @@ WriteMakefile( ($mymeta_works ? ( # BUILD_REQUIRES makes MYMETA right, requires stops META being wrong BUILD_REQUIRES => \%BUILD_DEPS, - META_ADD => { requires => \%RUN_DEPS } + META_ADD => { requires => \%RUN_DEPS, %extra_info } ) : ( # META_ADD both to get META right - only Makefile written META_ADD => { requires => \%RUN_DEPS, build_requires => \%BUILD_DEPS, + %extra_info, } ) ), + META_MERGE => { + no_index => { + directory => [ 'xt' ] + } + }, ($mymeta && !$mymeta_works ? (NO_MYMETA => 1) : ()), LICENSE => 'perl', );