X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=381644dcd85a2399b8fef136c14d83f1cd4b1fae;hb=63d46bb3853faf51e05d39311c87b6aa7e44110d;hp=e0d90c42d848113c43c48880bafc44023fd58479;hpb=4c4c6184f04bd8a38aa4396e054be1a6379fc936;p=dbsrgits%2FDBIx-Class.git diff --git a/Makefile.PL b/Makefile.PL index e0d90c4..381644d 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -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();