Changed trials-in-common page to use a single database query to get analyses. Changed...
[sgn.git] / Build.PL
blob639d030271b47c64ec79d1c2809f7c516c346508
1 use lib 'lib';
2 use SGN::Build;
4 my $build = SGN::Build->new(
5     dist_name          => 'SGN',
6     license            => 'perl',
7     create_makefile_pl => 'passthrough',
9     module_name        => 'SGN::Context',
11     # current version of our core libraries distribution
12     dist_version  => '0.1',
13     dist_author   => 'Lukas Mueller',
14     dist_abstract => 'The code and content behind the Sol Genomics Network main website, http://solgenomics.net',
16     recursive_test_files => 1,
18     build_requires => {
19         'Class::MethodMaker'             => 0,
20         'Data::UUID'                     => 0,
21         'File::Temp'                     => 0,
22         'HTML::Lint'                     => 0,
23         'Parse::Deb::Control'            => 0,
24         'Test::JSON'                     => 0,
25         'List::Util'                     => 0,
26         'Test::Most'                     => 0,
27 #        'Test::WWW::Mechanize'           => 0,
28 #        'Test::WWW::Mechanize::Catalyst' => '0.50',
29 #        'Test::WWW::Selenium'            => 0,
30 #        'Test::MockObject'               => 0,
31         'Module::Build::Tiny'            => 0,
32     },
33     requires => {
34         'perl'                                     => '5.10.0',
35         'version'                                  => '0.77',
36         'autodie'                                  => 0,
37         'IPC::System::Simple'                      => 0,         #< required for autodie :all
38         'Algorithm::Combinatorics'                 => 0,
39         'Archive::Zip'                             => 0,
40         'Array::Utils'                             => 0,
41         'Barcode::Code128'                         => '2.21',
42 #           'Bio::BLAST::Database'                     => 0,
43         'Bio::Chado::Schema'                       => 0, # 0.2000,
44         'Bio::Root::Version'                       => '1.006001',
45         'Bio::GMOD::Blast::Graph'                  => '0.01',
46         'Bio::GMOD::GenericGenePage'                   => 0,
47         'Bio::Graphics::FeatureFile'               => 0,
48         'Bio::GFF3::LowLevel'                      => 0,
49         'Cache::File'                              => 0,
50         'CAM::PDF'                                 => 0,
51         'Captcha::reCAPTCHA'                       => 0,
52         'Catalyst::Runtime'                        => '5.80024',
53         'Catalyst::Controller::CGIBin'             => '0.029',
54         'Catalyst::Controller::REST'               => 0,
55         'Catalyst::DispatchType::Regex'            => 0,
56         'Catalyst::Action::RenderView'             => 0,
57         'Catalyst::Plugin::Authentication'         => 0,
58         'Catalyst::Plugin::Authorization::Roles'   => 0,
59         'Catalyst::Plugin::ConfigLoader'           => 0,
60         'Catalyst::Plugin::Static::Simple'         => 0,
61         'Catalyst::View::Bio::SeqIO'               => 0,
62         'Catalyst::View::Email'                    => 0,
63         'Catalyst::View::Download::CSV'            => 0,
64         'Catalyst::View::HTML::Mason'              => 0,
65         'Catalyst::Plugin::SmartURI'               => 0,
66         'Catalyst::Controller::HTML::FormFu'       => 0,
67         'Catalyst::View::JavaScript::Minifier::XS' => '2.100000',
68         'CatalystX::GlobalContext'                 => 0,
69         'Chart::Clicker'                           => 0,
70         #'Class::DBI'                               => 0,
71         'Class::Singleton'                         => 0,
72         'Config::INI::Reader'                      => 0,
73         'Config::INI::Writer'                      => 0,
74         'Config::JFDI'                             => 0,
75         'CGI'                                      => 0,
76         'Data::BitMask'                            => 0,
77         'Data::Page'                               => 0,
78         'Data::Visitor::Callback'                  => 0,
79         'DateTime'                                 => 0,
80         # Remove the following dep when XML::Atom is fixed to depend on it and released
81         'DateTime::TimeZone'                       => '1.31',
82         'DateTime::Format::Duration'               => 0,
83         'DateTime::Format::Flexible'               => 0,
84         'DateTime::Format::Pg'                     => 0,
85         'Digest::Crc32'                            => 0,
86         'DBIx::Class'                              => 0,
87         'DBIx::Connector'                          => 0,
88         'Email::Send::SMTP::Gmail'                 => 0,
89         'enum'                                     => 0,
90                 'Excel::Writer::XLSX'                      => 0,
91         'File::Basename'                           => 0,
92         'File::Copy'                               => 0,
93         'File::Copy::Recursive'                    => 0,
94         'File::Flock'                              => 0,
95         'File::NFSLock'                            => 0,
96         'File::Slurp'                              => '9999.19',
97         'File::Spec::Functions'                    => 0,
98         'File::Temp'                               => 0,
99         'Number::Bytes::Human'                     => '0.07',
100         'GD'                                       => 0,
101         'GD::Barcode::QRcode'                      => 0,
102         'GD::Graph::bars'                          => 0,
103         'GD::Graph::Map'                           => 0,
104         'GD::Graph::points'                        => 0,
105         'GD::Text'                                 => 0,
106         'Hash::Merge'                              => 0,
107         'HTML::Entities'                           => 0,
108         'HTML::FormFu'                             => 0,
109         'HTML::Mason::Interp'                              => 0,
110         'HTML::TreeBuilder::XPath'                 => 0,
111         'IO::String'                               => 0,
112         'IPC::Run3'                                => 0,
113         'Image::Size'                              => 0,
114         'Imager::QRCode'                           => 0,
115         'JSAN::ServerSide'                         => '0.06',
116         'JSON'                                     => 0,
117         'JSON::XS'                                 => '2.24',
118         'JSON::Any'                                => 0,
119      #   'jQuery::File::Upload'                     => 0,
120         'Lingua::EN::Inflect'                      => 0,
121         'List::AllUtils'                           => 0,
122         'List::Compare'                            => 0,
123         'List::Util'                               => 0,
124         'LWP::UserAgent'                           => 0,
125         'Mail::Sendmail'                           => 0,
126         'Math::Base36'                             => 0,
127         'Math::Round::Var'                         => 0,
128         'Math::Polygon'                         => 0,
129         'Memoize'                                  => 0,
130         'Modern::Perl'                             => 0,
131         'Module::Build'                            => '0.36',
132         'Module::Runtime'                          => 0,
133         'Module::Find'                             => 0,
134         'Module::Pluggable::Object'                => 0,
135         'Moose'                                    => 0,
136         'MooseX::Declare'                          => 0,
137         'MooseX::FollowPBP'                        => 0,
138         'MooseX::Method::Signatures'               => '0.30',
139         'MooseX::Object::Pluggable'                => 0,
140         'MooseX::Types::Path::Class'               => 0,
141         'MooseX::Types::URI'                       => 0,
142         'MooseX::Singleton'                        => 0,
143         'Number::Format'                           => 0,
144         'namespace::autoclean'                     => 0,
145         'Parallel::ForkManager'                     => 0,
146         'Params::Util'                             => 0,
147         'PDF::API2'                                => 0,
148         'PDF::Create'                              => 0,
149         'Scalar::Util'                             => 0,
150         #'SOAP::Transport::HTTP'                    => 0,
151         'Sort::Maker'                              => 0,
152         'Sort::Key::Natural'                              => 0,
153         'Spreadsheet::WriteExcel'                  => 0,
154         'Spreadsheet::ParseExcel'                  => 0,
155                 'Spreadsheet::ParseXLSX'                   => 0,
156         'Spreadsheet::Read'                        => 0,
157         'Statistics::Descriptive'                  => 0,
158         'Storable'                                 => 0,
159         'String::Approx'                           => 0,
160         'String::CRC'                              => 0,
161         'Sys::Hostname'                            => 0,
162         'SVG'                                      => 0,
163         'Test::More'                               => 0,
164         'Test::Class'                              => 0,
165         'Test::WWW::Mechanize'                     => 1.3,
166         'Test::WWW::Mechanize::Catalyst'           => 0,
167         'Text::ParseWords'                         => 0,
168         'Text::Unidecode'                          => 0,
169         'Tie::Function'                            => 0,
170         'Tie::UrlEncoder'                          => 0,
171         'Time::HiRes'                              => 0,
172         'Try::Tiny'                                => 0,
173         'URI'                                      => 0,
174         'URI::Encode'                              => 0,
175         'URI::Escape'                              => 0,
176         'URI::FromHash'                            => 0,
177         'XML::Feed'                                => 0,
178         'XML::Generator'                           => 0,
179         'XML::Atom'                                => 0,
180         'XML::Twig'                                => 0,
181         'YAML::Any'                                => 0,
182         'R::YapRI'                                 => 0,
183         'WWW::Mechanize::TreeBuilder'              => 0,
184     },
187 $build->create_build_script;