1 use inc::Module::Install 1.06;
8 ## TEMPORARY (and non-portable)
13 $target_libdir = 'lib/SQL/Abstract/_TempExtlib';
15 if ($Module::Install::AUTHOR or $ENV{TRAVIS}) {
17 `rm -rf $target_libdir`;
18 `mkdir $target_libdir`;
20 [ 'Data-Query' => 'master' ],
22 my $tdir = "/tmp/dqlib/$_->[0]/";
26 `GIT_SSH=maint/careless_ssh.bash git clone --bare --quiet --branch=$_->[1] --depth=1 git://git.shadowcat.co.uk/dbsrgits/$_->[0] $tdir`;
27 printf "\nIncluding %s git rev %s\n",
29 scalar `GIT_DIR=$tdir git rev-parse $_->[1]`,
31 `git archive --format=tar --remote=file://$tdir $_->[1] lib/ | tar --strip-components=1 -xC $target_libdir`;
38 use lib $target_libdir;
41 perl_version '5.006002';
43 author 'Nathan Wiger <nate@wiger.org>';
44 resources 'license' => 'http://dev.perl.org/licenses/';
45 resources 'repository' => 'git://git.shadowcat.co.uk/dbsrgits/SQL-Abstract.git';
46 resources 'bugtracker' => 'http://rt.cpan.org/NoAuth/Bugs.html?Dist=SQL-Abstract';
48 all_from 'lib/SQL/Abstract.pm';
52 # deps for Data::Query
53 requires 'SQL::ReservedWords' => '0.8',
54 requires 'Safe::Isa' => '1.000003',
56 requires 'List::Util' => 0;
57 requires 'Scalar::Util' => 0;
58 requires 'Getopt::Long::Descriptive' => 0.091;
59 requires 'Hash::Merge' => 0.12;
60 requires 'Moo' => '0.009014';
61 requires 'namespace::clean' => '0.24';
63 test_requires "Test::More" => 0.92;
64 test_requires "Test::Exception" => 0;
65 test_requires "Test::Warn" => 0;
66 test_requires "Test::Deep" => '0.101';
67 test_requires "Storable" => 0; # for cloning in tests
69 no_index package => 'DBIx::Class::Storage::Debug::PrettyPrint';
70 no_index directory => 'examples';
71 no_index package => 'SQL::Abstract::_TempExtlib';
72 no_index directory => 'lib/SQL/Abstract/_TempExtlib';
74 install_script 'format-sql';