Skip to content

Commit

Permalink
Merge branch 'hotfix/v2.0.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
keiranmraine committed Mar 31, 2016
2 parents b35bd90 + b855966 commit de7bfff
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
Binary file modified docs.tar.gz
Binary file not shown.
5 changes: 3 additions & 2 deletions lib/PCAP.pm
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ use strict;
use Const::Fast qw(const);
use base 'Exporter';

our $VERSION = '2.0.0';
our $VERSION = '2.0.1';
our @EXPORT = qw($VERSION);

const my $LICENSE =>
Expand Down Expand Up @@ -69,7 +69,8 @@ const my %UPGRADE_PATH => ( # all earlier versions need full upgrade
'1.13.1' => 'biobambam,samtools',
'1.13.2' => 'biobambam,samtools',
'1.14.0' => 'biobambam,samtools',
'2.0.0' => 'biobambam,samtools',
'2.0.0' => 'biobambam',
'2.0.1' => '',
);

sub license {
Expand Down
2 changes: 1 addition & 1 deletion prerelease.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ echo '### Running perl tests ###'
export HARNESS_PERL_SWITCHES=-MDevel::Cover=-db,reports,-select='^lib/*\.pm$',-ignore,'^t/'
rm -rf docs
mkdir -p docs/reports_text
prove --nocolor -w -I ./lib | sed 's/^/ /' # indent output of prove
prove -w -I ./lib
echo
echo '### Generating test/pod coverage reports ###'
# removed 'condition' from coverage as '||' 'or' doesn't work properly
Expand Down
5 changes: 3 additions & 2 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ SOURCE_HTSLIB="https://github.com/samtools/htslib/archive/1.2.1.tar.gz"
SOURCE_JKENT_BIN="https://github.com/ENCODE-DCC/kentUtils/raw/master/bin/linux.x86_64"

# for biobambam
SOURCE_BBB_BIN_DIST="https://github.com/gt1/biobambam2/releases/download/2.0.33-release-20160317091357/biobambam2-2.0.33-release-20160317091357-x86_64-etch-linux-gnu.tar.gz"
SOURCE_BBB_BIN_DIST="https://github.com/gt1/biobambam2/releases/download/2.0.35-release-20160330111451/biobambam2-2.0.35-release-20160330111451-x86_64-etch-linux-gnu.tar.gz"

BIODBHTS_INSTALL="https://raw.githubusercontent.com/Ensembl/Bio-HTS/master/INSTALL.pl"

Expand Down Expand Up @@ -97,6 +97,7 @@ COMPILE=`echo 'nothing' | perl -I lib -MPCAP -ne 'print PCAP::upgrade_path($_);'
if [ -e "$INST_PATH/lib/perl5/PCAP.pm" ]; then
COMPILE=`perl -I $INST_PATH/lib/perl5 -MPCAP -e 'print PCAP->VERSION,"\n";' | perl -I lib -MPCAP -ne 'print PCAP::upgrade_path($_);'`
fi
COMPILE=",$COMPILE,"

#Need to add CaVEMan stuff here... will depend on samtools too (for now).

Expand Down Expand Up @@ -224,7 +225,7 @@ if [[ ",$COMPILE," == *,samtools,* ]] ; then
echo -n " previously installed ...";
else
cd $SETUP_DIR
$CPANM --mirror http://cpan.metacpan.org --notest -l $INST_PATH Module::Build Bio::Perl
$CPANM --mirror http://cpan.metacpan.org --notest -l $INST_PATH Module::Build Bio::Root::Version
# now Bio::DB::HTS
get_file "INSTALL.pl" $BIODBHTS_INSTALL
perl -I $PERL5LIB INSTALL.pl --prefix $INST_PATH --static
Expand Down

0 comments on commit de7bfff

Please sign in to comment.