X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=e3885d275caac779e624ab24d92cae257728204c;hb=9778825002ff852ea42a4d1670c4c5e9e24befa6;hp=adbd004c33d901c6db25b1f13e2a281506f06a43;hpb=dc4600b2b9be4ae9a91c8ab49bdbb7ce2c23d0f7;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/Makefile.PL b/Makefile.PL index adbd004..e3885d2 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -5,6 +5,8 @@ use POSIX (); use 5.006001; # delete this line if you want to send patches for earlier. +# ****** DO NOT ADD OPTIONAL DEPENDENCIES. EVER. --mst ****** + name 'DBIx-Class'; perl_version '5.006001'; all_from 'lib/DBIx/Class.pm'; @@ -40,7 +42,7 @@ requires 'MRO::Compat' => '0.09'; requires 'Module::Find' => '0.06'; requires 'Path::Class' => '0.16'; requires 'Scope::Guard' => '0.03'; -requires 'SQL::Abstract' => '1.58'; +requires 'SQL::Abstract' => '1.60'; requires 'SQL::Abstract::Limit' => '0.13'; requires 'Sub::Name' => '0.04'; @@ -52,16 +54,18 @@ my %replication_requires = ( 'Hash::Merge', => '0.11', ); -# when changing also adjust $DBIx::Class::minimum_sqlt_version -my $sqlt_recommends = '0.11002'; - -recommends 'SQL::Translator' => $sqlt_recommends; - +#************************************************************************# +# Make *ABSOLUTELY SURE* that nothing on this list is a real require, # +# since every module listed in %force_requires_if_author is deleted # +# from the final META.yml (thus will never make it as a CPAN dependency) # +#************************************************************************# my %force_requires_if_author = ( %replication_requires, + # when changing also adjust $DBIx::Class::Storage::DBI::minimum_sqlt_version + 'SQL::Translator' => '0.11002', + # 'Module::Install::Pod::Inherit' => '0.01', - 'SQL::Translator' => $sqlt_recommends, # when changing also adjust version in t/02pod.t 'Test::Pod' => '1.26', @@ -111,6 +115,11 @@ my %force_requires_if_author = ( ) : () , ); +#************************************************************************# +# Make ABSOLUTELY SURE that nothing on the list above is a real require, # +# since every module listed in %force_requires_if_author is deleted # +# from the final META.yml (thus will never make it as a CPAN dependency) # +#************************************************************************# install_script (qw|