diff options
author | Wen Heping <wen@FreeBSD.org> | 2009-12-04 11:50:10 +0000 |
---|---|---|
committer | Wen Heping <wen@FreeBSD.org> | 2009-12-04 11:50:10 +0000 |
commit | e2b9177a1b3b7b4dece69db0355e6b282cfd4788 (patch) | |
tree | 2724a417db628f1c12b3c5ea334ae2ea7c2279ab /biology/p5-bioperl/files | |
parent | f88420a6b18024ce872d8d4ad156baf2b03f4b37 (diff) | |
download | ports-e2b9177a1b3b7b4dece69db0355e6b282cfd4788.tar.gz ports-e2b9177a1b3b7b4dece69db0355e6b282cfd4788.zip |
Notes
Diffstat (limited to 'biology/p5-bioperl/files')
-rw-r--r-- | biology/p5-bioperl/files/patch-Bio-Root-Build.pm (renamed from biology/p5-bioperl/files/patch-Build.pm) | 12 | ||||
-rw-r--r-- | biology/p5-bioperl/files/patch-Build.PL | 19 |
2 files changed, 17 insertions, 14 deletions
diff --git a/biology/p5-bioperl/files/patch-Build.pm b/biology/p5-bioperl/files/patch-Bio-Root-Build.pm index bdca7e89404b..0b1369eb05eb 100644 --- a/biology/p5-bioperl/files/patch-Build.pm +++ b/biology/p5-bioperl/files/patch-Bio-Root-Build.pm @@ -1,10 +1,10 @@ ---- Bio/Root/Build.pm.orig 2009-01-25 02:19:26.000000000 -0300 -+++ Bio/Root/Build.pm 2009-02-22 02:24:05.000000000 -0300 -@@ -141,48 +141,8 @@ +--- Bio/Root/Build.pm.orig 2009-09-30 00:33:53.000000000 +0800 ++++ Bio/Root/Build.pm 2009-12-01 10:31:39.000000000 +0800 +@@ -124,48 +124,8 @@ } } closedir($scripts_dir); -- my $question = $int_ok ? "Install [a]ll Bioperl scripts, [n]one, or choose groups [i]nteractively?" : "Install [a]ll Bioperl scripts or [n]one?"; +- my $question = $int_ok ? "Install [a]ll BioPerl scripts, [n]one, or choose groups [i]nteractively?" : "Install [a]ll BioPerl scripts or [n]one?"; - - my $prompt = $accept ? 'a' : $self->prompt($question, 'a'); - @@ -47,11 +47,11 @@ - } - + $self->log_info(" - will install all scripts\n"); -+ $self->notes(chosen_scripts => 'all'); ++ $self->notes(chosen_scripts => 'all'); print "\n"; } -@@ -1177,16 +1137,9 @@ +@@ -1205,16 +1165,9 @@ sub prompt_for_network { my ($self, $accept) = @_; diff --git a/biology/p5-bioperl/files/patch-Build.PL b/biology/p5-bioperl/files/patch-Build.PL index b6f498ff7505..5e617cc16be0 100644 --- a/biology/p5-bioperl/files/patch-Build.PL +++ b/biology/p5-bioperl/files/patch-Build.PL @@ -1,6 +1,6 @@ ---- Build.PL.orig 2009-01-25 02:19:13.000000000 -0300 -+++ Build.PL 2009-02-22 02:21:33.000000000 -0300 -@@ -36,7 +36,7 @@ +--- Build.PL.orig 2009-09-30 00:33:45.000000000 +0800 ++++ Build.PL 2009-12-01 10:25:51.000000000 +0800 +@@ -37,7 +37,7 @@ 'Test::More' => 0, 'Module::Build' => 0.2805, 'Test::Harness' => 2.62, @@ -9,7 +9,7 @@ }, recommends => { # does what you would expect of recommends, except more informative output and generates optional_features in META.yml 'Ace' => '0/access of ACeDB database/Bio::DB::Ace,Bio::DB::GFF::Adaptor::ace', -@@ -214,83 +214,8 @@ +@@ -234,86 +234,9 @@ sub prompt_for_biodb { my $accept = shift; @@ -19,7 +19,7 @@ - - if ($proceed) { - my @driver_choices; -- foreach my $poss ('mysql', 'Pg', 'Oracle') { +- foreach my $poss ('SQLite', 'mysql', 'Pg', 'Oracle') { - if (grep {/$poss/i} @drivers) { - my $choice = $poss; - $choice =~ s/^(.)/[$1]/; @@ -44,6 +44,9 @@ - elsif ($driver =~ /^[oO]/) { - $driver = 'Oracle'; - } +- elsif ($driver =~ /^[sS]/) { +- $driver = 'SQLite'; +- } - - my $test_db = $build->prompt("Which database should I use for testing the $driver driver?\n". - "This database should already be present but doesn't have to ". @@ -58,7 +61,7 @@ - } - - my $test_dsn; -- if ($driver eq 'Pg') { +- if ($driver eq 'Pg' || $driver eq 'SQLite') { - $test_dsn = "dbi:$driver:dbname=$test_db"; - $mysql_ok = 0; - } @@ -84,12 +87,12 @@ - " User $test_user\n", - " Password $test_pass\n"); - $build->log_info(" - will not run the BioDBSeqFeature live ". -- "database tests (requires MySQL driver)\n") unless ($driver eq 'mysql'); +- "database tests (requires MySQL or Pg driver)\n") unless ($driver eq 'mysql' or $driver eq 'Pg'); - } - else { - $build->log_info(" - will not run the BioDBGFF or BioDBSeqFeature live database tests\n"); - } -- + + my $proceed = 0; + $build->log_info(" - will not run the BioDBGFF or BioDBSeqFeature live database tests\n"); $build->log_info("\n"); |