X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=5b493d20bbe3eb3b197b9cb0d38c496c89acd5d1;hb=f5de41ea64badf3951f61037db7fb26b103a6ced;hp=695de0d50a9444f20685ba1c9edbaa7f588e091b;hpb=aeb669b82b47ddabb73a36b9062d7cc616dcc112;p=dbsrgits%2FDBIx-Class.git diff --git a/Makefile.PL b/Makefile.PL index 695de0d..5b493d2 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,4 +1,4 @@ -use inc::Module::Install 0.93; +use inc::Module::Install 0.97; use strict; use warnings; use POSIX (); @@ -49,6 +49,7 @@ my $runtime_requires = { 'Class::Inspector' => '1.24', 'Data::Page' => '2.00', 'DBI' => '1.609', + 'File::Path' => '2.07', 'MRO::Compat' => '0.09', 'Module::Find' => '0.06', 'Path::Class' => '0.18', @@ -60,6 +61,7 @@ my $runtime_requires = { 'Context::Preserve' => '0.01', 'Try::Tiny' => '0.04', 'namespace::clean' => '0.14', + 'Math::Base36' => '0.07', }; # this is so we can order requires alphabetically @@ -135,9 +137,9 @@ for my $mod (sort keys %final_req) { } # output twice since the deplist is > 70 lines -warn $optdep_msg; +warn $optdep_msg if $Module::Install::AUTHOR; auto_install(); -warn $optdep_msg; +warn $optdep_msg if $Module::Install::AUTHOR; # re-create various autogenerated documentation bits if ($Module::Install::AUTHOR) { @@ -159,10 +161,26 @@ if ($Module::Install::AUTHOR) { # PodInherit(); } + tests_recursive (qw| t |); +# temporary(?) until I get around to fix M::I wrt xt/ +# needs Module::Install::AuthorTests +eval { + recursive_author_tests (qw/xt/); + 1; +} || do { + unless ($args->{skip_author_deps}) { + my $err = $@; + eval { require Module::Install::AuthorTests } + || die "\nYou need Module::Install::AuthorTests installed to run this Makefile.PL:\n\n$@\n"; + die $@; + } +}; + + install_script (qw| script/dbicadmin |); @@ -190,8 +208,7 @@ create_distdir : manifest EOP - - +homepage 'http://www.dbix-class.org/'; resources 'IRC' => 'irc://irc.perl.org/#dbix-class'; resources 'license' => 'http://dev.perl.org/licenses/'; resources 'repository' => 'git://git.shadowcat.co.uk/dbsrgits/DBIx-Class.git';