/
Build.PL
113 lines (111 loc) · 4.86 KB
/
Build.PL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
use strict;
use warnings;
use Module::Build::DB;
my $class = Module::Build::DB->subclass(
class => 'PGXN::Build',
code => q{
sub valid_licenses { { postgresql => 'PostgreSQL' } }
},
);
$class->new(
module_name => 'PGXN::Manager',
license => 'postgresql',
script_files => 'bin',
test_file_exts => [qw(.t .pg)],
db_config_key => 'dbi',
replace_config => 'conf/test.json',
db_client => 'psql',
configure_requires => { 'Module::Build::DB' => '0.10', },
build_requires => {
'Archive::Tar' => '1.68',
'File::Copy' => '2.18',
'HTTP::Request::Common' => '5.824',
'MIME::Base64' => '3.08',
'Module::Build::DB' => '0.10',
'Software::License' => '0.102340',
'TAP::Parser::SourceHandler::pgTAP' => '3.23',
'Test::File' => '1.29',
'Test::File::Contents' => '0.05',
'Test::Harness' => '3.18',
'Test::MockModule' => '0.05',
'Test::More' => '0.70',
'Test::NoWarnings' => '1.02',
'Test::XML' => '0.08',
'Test::XPath' => '0.13',
},
requires => {
'aliased' => '0.30',
'Archive::Extract' => '0.42',
'Archive::Zip' => '1.30',
'Class::ISA' => '0.36',
'Cwd' => '3.33',
'Data::Dump' => '1.19',
'Data::Validate::URI' => '0.05',
'DBD::Pg' => '2.15.1',
'DBI' => '1.608',
'DBIx::Connector' => '0.42',
'Digest::SHA1' => '2.13',
'Email::Valid' => '0.184',
'Email::MIME::Creator' => '1.905',
'Email::Sender::Simple' => '0.102370',
'Email::Address' => '1.892',
'Encode' => '2.40',
'Exception::Class::DBI' => '1.00',
'File::Basename' => '2.78',
'File::Copy' => '2.18',
'File::Path' => '2.08',
'File::Spec' => '3.33',
'File::Temp' => '0.22',
'Getopt::Long' => '2.34',
'HTTP::Body' => '1.08',
'HTML::Entities' => '3.68',
'HTTP::Negotiate' => '5.835',
'I18N::LangTags::Detect' => '1.04',
'JSON::XS' => '2.3',
'Locale::Maketext' => '1.13',
'Moose' => '1.15',
'MooseX::Singleton' => '0.25',
'Moose::Util::TypeConstraints' => '1.15',
'namespace::autoclean' => '0.11',
'parent' => '0.223',
'Net::Twitter::Lite' => '0.10003',
'perl' => 5.012,
'Plack' => '0.9956',
'Plack::Builder' => 0,
'Plack::App::File' => 0,
'Plack::Response' => '0.9956',
'Plack::Session::Store::File' => '0.12',
'Plack::Middleware::Session' => '0.12',
'Plack::Middleware::MethodOverride' => '0.10',
'Pod::Usage' => '1.33',
'namespace::autoclean' => '0.11',
'Router::Resource' => '0.11',
'SemVer' => '0.1.0',
'Template::Declare' => '0.43',
'Template::Declare::Tags' => '0.43',
'Try::Tiny' => '0.06',
'URI::Template' => '0.15',
},
recommends => {
'Plack::Middleware::ReverseProxy' => '0.07',
'Test::Pod' => '1.41',
'Test::Pod::Coverage' => '1.06',
},
tap_harness_args => {
sources => {
Perl => undef,
pgTAP => {
dbname => 'pgxn_manager_test',
username => 'postgres',
suffix => '.pg',
},
},
},
meta_merge => {
resources => {
homepage => 'http://manager.pgxn.org/',
bugtracker => 'http://github.com/pgxn/pgxn-manager/issues/',
repository => 'http://github.com/pgxn/pgxn-manager/tree/',
}
},
)->create_build_script;