X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=898ea91a9b201b67e25d671c39b41591cc7c3d9c;hb=aed5b8a46a2e48adeeb790c06906c4d48f190043;hp=229403a34c43b114a0a38f7270e00b8f67adb95a;hpb=f103b03bb9f39c09b9e7a902e25811af401708e3;p=dbsrgits%2FDBIx-Class.git diff --git a/Makefile.PL b/Makefile.PL index 229403a..898ea91 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -9,13 +9,14 @@ requires 'Scalar::Util' => 0; requires 'SQL::Abstract' => 1.20; requires 'SQL::Abstract::Limit' => 0.101; requires 'Class::C3' => 0.13; +requires 'Class::C3::Componentised' => 0; requires 'Storable' => 0; requires 'Carp::Clan' => 0; requires 'DBI' => 1.40; requires 'Module::Find' => 0; requires 'Class::Inspector' => 0; requires 'Class::Accessor::Grouped' => 0.05002; -requires 'JSON' => 1.00; +requires 'JSON::Any' => 1.00; requires 'Scope::Guard' => 0.03; # Perl 5.8.0 doesn't have utf8::is_utf8() @@ -28,9 +29,11 @@ install_script 'script/dbicadmin'; tests "t/*.t t/*/*.t"; -# re-build README if we're in an svk checkout -if( -e 'MANIFEST.SKIP' ) { - system('pod2text lib/DBIx/Class.pm > README'); +# re-build README and require CDBI modules for testing if we're in a checkout +if( -e 'inc/.author' ) { + build_requires 'DBIx::ContextualFetch'; + build_requires 'Class::Trigger'; + system('pod2text lib/DBIx/Class.pm > README'); } auto_provides;