X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=895540a03a807ad659749f51178e7fbdb6e9359e;hb=54a844682ec0e0e24a1215b04263ce9de5bd7e94;hp=b28f9924e967b693f5765fb779892906f2591761;hpb=65d08642518d29e1a0fa5a426a559558ec82a1a9;p=dbsrgits%2FDBIx-Class.git diff --git a/Makefile.PL b/Makefile.PL index b28f992..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; @@ -42,7 +44,15 @@ requires 'SQL::Abstract::Limit' => 0.13; requires 'Sub::Name' => 0.04; recommends 'SQL::Translator' => 0.09004; -recommends 'Module::Install::Pod::Inherit' => '0.01'; + +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 @@ -61,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, @@ -84,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, @@ -136,14 +147,13 @@ EOW print "Removing MANIFEST\n"; unlink 'MANIFEST'; } + +# eval { require Module::Install::Pod::Inherit }; +# PodInherit() if !$@; } auto_install(); -eval { use Module::Install::Pod::Inherit; }; - -PodInherit() if(!$@ && $Module::Install::AUTHOR); - WriteAll(); # Re-write META.yml to _exclude_ all forced requires (we do not want to ship this)