Add Class::Trigger and DBIx::ContextualFetch to build requirements
[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'                => 0,
10         'DBI'                       => 0,
11         'UNIVERSAL::require'        => 0,
12         'NEXT'                      => 0,
13         'Scalar::Util'              => 0,
14         'SQL::Abstract'             => 1.20,
15         'SQL::Abstract::Limit'      => 0.101,
16         'DBD::SQLite'               => 1.08,
17         # Following for CDBICompat only
18         'Class::Trigger'            => 0,
19         'DBIx::ContextualFetch'     => 0,
20         'Tie::IxHash'               => 0,
21         'Storable'                  => 0,
22         'Module::Find'              => 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