X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=2c65cfef799f6938b8fc8413cbb88d58fa1b2a99;hb=08d78f41d2257beb17845164f42006be0d7b3b57;hp=b28f9924e967b693f5765fb779892906f2591761;hpb=65d08642518d29e1a0fa5a426a559558ec82a1a9;p=dbsrgits%2FDBIx-Class.git diff --git a/Makefile.PL b/Makefile.PL index b28f992..2c65cfe 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -42,7 +42,6 @@ requires 'SQL::Abstract::Limit' => 0.13; requires 'Sub::Name' => 0.04; recommends 'SQL::Translator' => 0.09004; -recommends 'Module::Install::Pod::Inherit' => '0.01'; install_script (qw| script/dbicadmin @@ -62,6 +61,7 @@ resources 'MailingList' => 'http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/db my %force_requires_if_author = ( 'Test::Pod::Coverage' => 1.04, + 'Module::Install::Pod::Inherit' => 0.01, 'SQL::Translator' => 0.09007, # CDBI-compat related @@ -84,9 +84,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 +136,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)