X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=381644dcd85a2399b8fef136c14d83f1cd4b1fae;hb=1fb06d4e9a4d9d1abf95880144d659417b1c4ea8;hp=8ea186ccb5b396929d3826bae175af19c9d66ff0;hpb=80ff5ae0f94a63502b41ee72e579fb8bf56763a1;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/Makefile.PL b/Makefile.PL index 8ea186c..381644d 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -11,7 +11,7 @@ all_from 'lib/DBIx/Class.pm'; requires 'DBD::SQLite' => 1.25; requires 'Data::Page' => 2.00; -requires 'SQL::Abstract' => 1.55; +requires 'SQL::Abstract' => 1.56; requires 'SQL::Abstract::Limit' => 0.13; requires 'Class::C3::Componentised' => 1.0005; requires 'Carp::Clan' => 6.0; @@ -67,17 +67,23 @@ my %force_requires_if_author = ( 'Class::Trigger' => 0, 'Time::Piece::MySQL' => 0, 'Clone' => 0, - 'Date::Simple' => 0, + 'Date::Simple' => 3.03, # t/52cycle.t 'Test::Memory::Cycle' => 0, + 'Devel::Cycle' => 1.10, + # t/inflate/datetime*.t + # t/72.pg + # t/36datetime.t # t/60core.t + 'DateTime::Format::SQLite' => 0, 'DateTime::Format::MySQL' => 0, - - # t/89inflate_datetime.t 'DateTime::Format::Pg' => 0, + # t/96_is_deteministic_value.t + 'DateTime::Format::Strptime' => 0, + # t/72pg.t $ENV{DBICTEST_PG_DSN} ? ('Sys::SigAction'=> 0) @@ -91,8 +97,8 @@ my %force_requires_if_author = ( 'namespace::clean' => 0.11, 'Hash::Merge', => 0.11, - # t/96_is_deteministic_value.t - 'DateTime::Format::Strptime' => 0, + # t/746sybase.t + 'DateTime::Format::Sybase' => 0, ); if ($Module::Install::AUTHOR) { @@ -111,12 +117,16 @@ EOW build_requires ($module => $force_requires_if_author{$module}); } + print "Regenerating README\n"; system('pod2text lib/DBIx/Class.pm > README'); -} -auto_provides; + if (-f 'MANIFEST') { + print "Removing MANIFEST\n"; + unlink 'MANIFEST'; + } +} -auto_install; +auto_install(); WriteAll();