~ubuntu-branches/ubuntu/trusty/bioperl/trusty

« back to all changes in this revision

Viewing changes to Build.PL

  • Committer: Package Import Robot
  • Author(s): Charles Plessy
  • Date: 2014-01-18 11:41:11 UTC
  • mfrom: (3.1.12 sid)
  • Revision ID: package-import@ubuntu.com-20140118114111-zcjaq5edb49dhlat
Tags: 1.6.923-1
* New upstream release.
* Does not need non-free libmath-random-perl anymore.
* Build-depend on libmodule-build-perl (>= 0.420000).  Despite Lintian's
  warning that it is useless, the package does not build without.
* Conforms to Policy version 3.9.5.

Show diffs side-by-side

added added

removed removed

Lines of Context:
105
105
    'LWP::UserAgent'            => [0,
106
106
        'Remote access/Bio::DB::*,Bio::Tools::Run::RemoteBlast,Bio::WebAgent'],
107
107
 
108
 
    'Math::Random'              => [0,
109
 
        'Random Phylogenetic Networks/Bio::PhyloNetwork::RandomFactory'],
110
 
 
111
108
    'PostScript::TextBlock'     => [0,
112
109
        'EPS output/Bio::Tree::Draw::Cladogram'],
113
110
 
179
176
    dist_author         => 'BioPerl Team <bioperl-l@bioperl.org>',
180
177
    dist_abstract       => 'Bioinformatics Toolkit',
181
178
    license             => 'perl',
182
 
    no_index            => {'dir'       => [qw(examples/root/lib)]},
 
179
    no_index            => {'x_dir'       => [qw(examples/root/lib)]},
183
180
    requires            => {
184
181
                            'perl'                      => '5.6.1',
185
182
                            'IO::String'                => 0,    # why is this required?
259
256
my $accept = $build->args('accept');
260
257
 
261
258
# how much do I hate this?  Let me count the ways.....
262
 
if (!$build->feature('EntrezGene')) {
263
 
    warn <<WARN;
264
 
############################# WARNING #############################
265
 
 
266
 
Bio::ASN1::EntrezGene not found. This is an *optional* module;
267
 
however, because it has a circular dependency with BioPerl we do not
268
 
include it on our list of recommended modules.
269
 
 
270
 
If you require EntrezGene functionality, you can install
271
 
Bio::ASN1::EntrezGene after BioPerl has finished installing.
272
 
 
273
 
############################# WARNING #############################
274
 
 
275
 
WARN
276
 
    sleep 3;
277
 
}
 
259
#if (!$build->feature('EntrezGene')) {
 
260
#    warn <<WARN;
 
261
############################## WARNING #############################
 
262
#
 
263
#Bio::ASN1::EntrezGene not found. This is an *optional* module;
 
264
#however, because it has a circular dependency with BioPerl we do not
 
265
#include it on our list of recommended modules.
 
266
#
 
267
#If you require EntrezGene functionality, you can install
 
268
#Bio::ASN1::EntrezGene after BioPerl has finished installing.
 
269
#
 
270
############################## WARNING #############################
 
271
#
 
272
#WARN
 
273
#    sleep 3;
 
274
#}
278
275
 
279
276
my $proceed = prompt_for_biodb($accept)
280
277
    if $build->feature('Bio::DB::GFF') || $build->feature('MySQL Tests') ||