X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=c0d9689454a38541cebb2106e3832836598c8d3d;hb=268310425c798353b02b928d43f0bd1ed9601032;hp=244c3322955d0c732641edf32b9c16a0f214af5f;hpb=0d4740b34575fedb937a31d0189187f126f663f0;p=dbsrgits%2FDBIx-Class.git diff --git a/Makefile.PL b/Makefile.PL index 244c332..c0d9689 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,4 +1,4 @@ -use inc::Module::Install 0.89; +use inc::Module::Install 0.93; use strict; use warnings; use POSIX (); @@ -8,6 +8,12 @@ use 5.008001; use FindBin; use lib "$FindBin::Bin/lib"; +### +### DO NOT ADD OPTIONAL DEPENDENCIES HERE, EVEN AS recommends() +### All of them should go to DBIx::Class::Optional::Dependencies +### + + name 'DBIx-Class'; perl_version '5.008001'; all_from 'lib/DBIx/Class.pm'; @@ -19,7 +25,6 @@ my $build_requires = { my $test_requires = { 'File::Temp' => '0.22', 'Test::Builder' => '0.33', - 'Test::Deep' => '0', 'Test::Exception' => '0', 'Test::More' => '0.92', 'Test::Warn' => '0.21', @@ -38,10 +43,9 @@ my $runtime_requires = { 'Class::Inspector' => '1.24', 'Data::Page' => '2.00', 'DBI' => '1.609', - 'JSON::Any' => '1.18', 'MRO::Compat' => '0.09', 'Module::Find' => '0.06', - 'Path::Class' => '0.16', + 'Path::Class' => '0.18', 'Scope::Guard' => '0.03', 'SQL::Abstract' => '1.61', 'SQL::Abstract::Limit' => '0.13', @@ -100,7 +104,7 @@ for my $rtype (keys %$reqs) { # sanity check req duplications if ($final_req{$mod}) { - die "$mod specified as both a $rtype and a $final_req{$mod}[1]\n"; + die "$mod specified as both a '$rtype' and a '$final_req{$mod}[0]'\n"; } $final_req{$mod} = [ $rtype, $reqs->{$rtype}{$mod}||0 ], @@ -133,7 +137,6 @@ no_index directory => $_ for (qw| lib/DBIx/Class/PK/Auto |); no_index package => $_ for (qw/ - DBIx::Class::Storage::DBI::AmbiguousGlob DBIx::Class::SQLAHacks DBIx::Class::Storage::DBIHacks /);