made cdbi-t optional
[dbsrgits/DBIx-Class-Historic.git] / Build.PL
1 use strict;
2 use Module::Build;
3
4 my %arguments = (
5     create_makefile_pl => 'passthrough',
6     license            => 'perl',
7     module_name        => 'DBIx::Class',
8     requires           => {
9         'Data::Page'                => 2.00,
10         'DBI'                       => 1.40,
11         'UNIVERSAL::require'        => 0,
12         'Scalar::Util'              => 0,
13         'SQL::Abstract'             => 1.20,
14         'SQL::Abstract::Limit'      => 0.101,
15         'DBD::SQLite'               => 1.08,
16         'Class::C3'                 => 0.07,
17         'Tie::IxHash'               => 0,
18         'Module::Find'              => 0,
19         'Storable'                  => 0,
20         'Class::Data::Accessor'     => 0.01,
21         # Following for CDBICompat only
22         'Carp::Clan'                => 0,
23     },
24     recommends          => {
25         'Data::UUID'                => 0,
26     },
27     create_makefile_pl => 'passthrough',
28     create_readme      => 1,
29     test_files         => [ glob('t/*.t'), glob('t/*/*.t') ]
30 );
31
32 Module::Build->new(%arguments)->create_build_script;
33