X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=895540a03a807ad659749f51178e7fbdb6e9359e;hb=3a443bb0f22848133b6dba3661448cabec1a5b80;hp=72c7fd3b2cf04c234038b335d4abbb145ad79406;hpb=ac45262b7c3b56db2c8606c4cad46aa448b1169c;p=dbsrgits%2FDBIx-Class.git diff --git a/Makefile.PL b/Makefile.PL index 72c7fd3..895540a 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -13,9 +13,11 @@ all_from 'lib/DBIx/Class.pm'; test_requires 'Test::Builder' => 0.33; test_requires 'Test::Deep' => 0; test_requires 'Test::Exception' => 0; -test_requires 'Test::More' => 0.82; +test_requires 'Test::More' => 0.92; test_requires 'Test::Warn' => 0.11; +test_requires 'File::Temp' => 0.22; + # Core requires 'List::Util' => 0; requires 'Scalar::Util' => 0; @@ -43,6 +45,15 @@ requires 'Sub::Name' => 0.04; recommends 'SQL::Translator' => 0.09004; +feature 'Replication', + -default => 0, + 'Moose' => '0.88', + 'MooseX::AttributeHelpers' => '0.21', + 'MooseX::Types' => '0.16', + 'namespace::clean' => '0.11', + 'Hash::Merge' => '0.11'; + + install_script (qw| script/dbicadmin |); @@ -60,6 +71,7 @@ resources 'MailingList' => 'http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/db # re-build README and require extra modules for testing if we're in a checkout my %force_requires_if_author = ( +# 'Module::Install::Pod::Inherit' => 0.01, 'Test::Pod::Coverage' => 1.04, 'SQL::Translator' => 0.09007, @@ -83,9 +95,9 @@ my %force_requires_if_author = ( 'DateTime::Format::Strptime'=> 0, # t/93storage_replication.t - 'Moose', => 0.77, - 'MooseX::AttributeHelpers' => 0.12, - 'MooseX::Types', => 0.10, + 'Moose', => 0.87, + 'MooseX::AttributeHelpers' => 0.21, + 'MooseX::Types', => 0.16, 'namespace::clean' => 0.11, 'Hash::Merge', => 0.11, @@ -135,6 +147,9 @@ EOW print "Removing MANIFEST\n"; unlink 'MANIFEST'; } + +# eval { require Module::Install::Pod::Inherit }; +# PodInherit() if !$@; } auto_install();