-
Notifications
You must be signed in to change notification settings - Fork 4
/
Build.PL
86 lines (73 loc) · 2.5 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
#!/usr/bin/env perl
use 5.010;
use strict;
use warnings;
use Module::Build;
use Config;
use File::Basename;
use File::Spec;
my $lib = File::Spec->catfile(dirname(__FILE__), 'lib');
unshift @INC, $lib;
require Bio::BPWrapper;
my $release_status = ($Bio::BPWrapper::VERSION =~ /_/) ?
'testing' : 'stable';
my $builder = Module::Build->new(
module_name => 'Bio::BPWrapper',
add_to_cleanup => [ 'Bio-BPWrapper-*', 't/check-data/*.got',
'*IGS:11.fas', 't/*IGS:11.fas',
'test-files/test-bioaln.cds.slice*.aln',
'test-bioseq.nuc.sed', 't/test-bioseq.nuc.sed',
'test-bioaln.cds.slice*.aln',
'*.fas', '*.err',
't/check-data/*.err'],
create_makefile_pl => 'traditional',
dist_abstract =>
'wrappers of popular BioPerl classes (`Bio::SeqIO`, `Bio::Seq`, `Bio::AlignIO`, `Bio::SimpleAlign',
dist_version_from => 'lib/Bio/BPWrapper.pm',
dist_author => ['Y. Hernandez', 'P. Pagan', 'G. Ramrattan', 'W.-G. Qiu', 'R. Bernstein'],
license => 'perl_5',
needs_compiler => 0,
release_status => $release_status,
meta_merge => {
resources => {
bugtracker => 'https://github.com/bioperl/p5-bpwrapper/issues',
repository => 'https://github.com/bioperl/p5-bpwrapper',
}
},
configure_requires => {
'Module::Build' => '0.4214',
},
build_requires => {
'Path::Tiny' => '0.058',
},
requires => {
'perl' => 'v5.14',
'BioPerl' => 'v1.7.8',
#'Bio::Restriction::Analysis' => 0,
'Bio::DB::RefSeq' => 0,
'Path::Tiny' => '0.058',
},
provides => {
'Bio::BPWrapper' => {
file => 'lib/Bio/Wrapper/AlnManipulations.pm',
},
'Bio::BPWrapper::AlnManipulations' => {
file => 'lib/Bio/Wrapper/AlnManipulations.pm',
},
'Bio::BPWrapper::PopManipulations' => {
file => 'lib/Bio/Wrapper/PopManipulations.pm',
},
'Bio::BPWrapper::SeqManipulations' => {
file => 'lib/Bio/Wrapper/SeqManipulations.pm',
},
'Bio::BPWrapper::SeqManipulations' => {
file => 'lib/Bio/Wrapper/Version.pm',
},
},
sign => ($ENV{PERL_MB_NOSIGN} ? 0 : 1),
test_requires => {
'Test::More' => '0.81',
'Path::Tiny' => '0.058',
},
);
$builder->create_build_script();