DBIx::Class::Bundled
[dbsrgits/DBIx-Class.git] / Makefile.PL
index f22f9ee..e06b2a3 100644 (file)
@@ -8,8 +8,8 @@ use inc::Module::Install 1.06;
 ## TEMPORARY (and non-portable)
 ## Get the dq stuff
 ##
-`rm -rf t/dqlib`;
-`mkdir t/dqlib`;
+`rm -rf lib/DBIx/Class/Bundled`;
+`mkdir lib/DBIx/Class/Bundled`;
 for (
   [ 'Data-Query' => 'master' ],
   [ 'SQL-Abstract' => 'dq' ],
@@ -23,12 +23,12 @@ for (
     $_->[0],
     scalar `GIT_DIR=$tdir/.git git rev-parse origin/$_->[1]`,
   ;
-  `git archive --format=tar --remote=file://$tdir origin/$_->[1] lib/ | tar --strip-components=1 -xC t/dqlib`;
+  `git archive --format=tar --remote=file://$tdir origin/$_->[1] lib/ | tar --strip-components=1 -xC lib/DBIx/Class/Bundled`;
 
   `rm -rf $tdir`;
 }
 `cpanm SQL::ReservedWords 2>&1`;
-use lib 't/dqlib';
+use lib 'lib/DBIx/Class/Bundled';
 
 
 ##
@@ -73,6 +73,12 @@ my $runtime_requires = {
   # DBI itself should be capable of installation and execution in pure-perl
   # mode. However it has never been tested yet, so consider XS for the time
   # being
+###
+### IMPORTANT - do not raise this dependency
+### even though many bugfixes are present in newer versions, the general DBIC
+### rule is to bend over backwards for available DBI versions (given upgrading
+### them is often *not* easy or even possible)
+###
   'DBI'                      => '1.57',
 
   # on older versions first() leaks
@@ -113,6 +119,12 @@ my $runtime_requires = {
 my $build_requires = {
   # needed for testing only, not for operation
   # we will move away from this dep eventually, perhaps to DBD::CSV or something
+###
+### IMPORTANT - do not raise this dependency
+### even though many bugfixes are present in newer versions, the general DBIC
+### rule is to bend over backwards for available DBDs (given upgrading them is
+### often *not* easy or even possible)
+###
   'DBD::SQLite'              => '1.29',
 };