Actually weaken Converter->sqla_instance ref
[dbsrgits/SQL-Abstract.git] / Makefile.PL
CommitLineData
06c1f5bb 1use inc::Module::Install 1.06;
d4705371 2use strict;
3use warnings;
4
75151f36 5use 5.006002;
d4705371 6
39999edd 7##
8## TEMPORARY (and non-portable)
9## Get the dq stuff
10##
11my $target_libdir;
12BEGIN {
13 $target_libdir = 'lib/SQL/Abstract/_TempExtlib';
14
15 if ($Module::Install::AUTHOR or $ENV{TRAVIS}) {
16
17 `rm -rf $target_libdir`;
18 `mkdir $target_libdir`;
19 for (
20 [ 'Data-Query' => 'master' ],
21 ) {
22 my $tdir = "/tmp/dqlib/$_->[0]/";
23
24 `rm -rf $tdir`;
25
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",
28 $_->[0],
29 scalar `GIT_DIR=$tdir git rev-parse $_->[1]`,
30 ;
31 `git archive --format=tar --remote=file://$tdir $_->[1] lib/ | tar --strip-components=1 -xC $target_libdir`;
32
33 #`rm -rf $tdir`;
34 }
35 }
36}
37
38use lib $target_libdir;
39
40
75151f36 41perl_version '5.006002';
d4705371 42name 'SQL-Abstract';
4f0516bc 43author 'Nathan Wiger <nate@wiger.org>';
d8cc1792 44resources 'license' => 'http://dev.perl.org/licenses/';
45resources 'repository' => 'git://git.shadowcat.co.uk/dbsrgits/SQL-Abstract.git';
46resources 'bugtracker' => 'http://rt.cpan.org/NoAuth/Bugs.html?Dist=SQL-Abstract';
d4705371 47
48all_from 'lib/SQL/Abstract.pm';
49
b5f4fb92 50dynamic_config 0;
51
39999edd 52# deps for Data::Query
53requires 'SQL::ReservedWords' => '0.8',
54requires 'Safe::Isa' => '1.000003',
55
fdfbbc65 56requires 'List::Util' => 0;
57requires 'Scalar::Util' => 0;
5e6c3564 58requires 'Getopt::Long::Descriptive' => 0.091;
2fed0b4b 59requires 'Hash::Merge' => 0.12;
3a9aca02 60requires 'Moo' => '0.009014';
7371cf74 61requires 'namespace::clean' => '0.24';
d4705371 62
0bf60a86 63test_requires "Test::More" => 0.92;
d4705371 64test_requires "Test::Exception" => 0;
65test_requires "Test::Warn" => 0;
328c5eac 66test_requires "Test::Deep" => '0.101';
75151f36 67test_requires "Storable" => 0; # for cloning in tests
d4705371 68
0d5df7d6 69no_index package => 'DBIx::Class::Storage::Debug::PrettyPrint';
1dc93d17 70no_index directory => 'examples';
39999edd 71no_index package => 'SQL::Abstract::_TempExtlib';
72no_index directory => 'lib/SQL/Abstract/_TempExtlib';
1dc93d17 73
ffce8d5f 74install_script 'format-sql';
75
d4705371 76tests_recursive 't';
77
536dbae1 78auto_install();
79
d4705371 80WriteAll();