Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/perlmods
In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv5946

Modified Files:
        bioperl-run-pm.info 
Added Files:
        bioperl-run-pm.patch 
Log Message:
new upstream

Index: bioperl-run-pm.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/perlmods/bioperl-run-pm.info,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- bioperl-run-pm.info 16 Jun 2007 22:45:03 -0000      1.4
+++ bioperl-run-pm.info 1 Dec 2007 19:10:26 -0000       1.5
@@ -1,25 +1,47 @@
 Info2: <<
 
 Package: bioperl-run-pm%type_pkg[perl]
-Version: 1.5.1
+Version: 1.5.2
 Revision: 1
 Architecture: (%type_pkg[perl] = 581) powerpc, (%type_pkg[perl] = 584) powerpc
 Distribution: (%type_pkg[perl] = 581) 10.3, (%type_pkg[perl] = 581) 10.4, 
(%type_pkg[perl] = 584) 10.3, (%type_pkg[perl] = 584) 10.4
-Depends: bioperl-pm%type_pkg[perl], algorithm-diff-pm
-Source: http://www.bioperl.org/DIST/bioperl-run-%v.tar.bz2
+Depends: bioperl-pm%type_pkg[perl] (>= %v), algorithm-diff-pm
+BuildDepends: perl%type_pkg[perl]-core, fink (>= 0.20.1-1), 
module-build-pm%type_pkg[perl] (>= 0.2808)
+
+Source: http://www.bioperl.org/DIST/bioperl-run-%v_100.tar.bz2
 Replaces: bioperl-run-pm560, bioperl-run-pm580, bioperl-run-pm581
-Type: perl (5.8.1 5.8.6)
+Type: perl (5.8.1 5.8.6 5.8.8)
 NoPerlTests: true
 UpdatePOD: True
-Source-MD5: 6089b828b9c482932fc182ae65bc4341
-DocFiles: Changes INSTALL.PROGRAMS MANIFEST README AUTHORS 
+Source-MD5: cc44c719820608f92139f4a81d472ea6
+DocFiles: Changes INSTALL INSTALL.PROGRAMS MANIFEST README AUTHORS 
 Description: Perl wrappers for bioinformatics
+
+Patch: %{ni}.patch
+CompileScript: <<
+#!/bin/sh -ex
+  exec 2>&1
+  perlversion=%type_raw[perl]
+  eval "`perl$perlversion -V:archname`"
+  perl$perlversion Build.PL \
+    --install_path arch=%i/lib/perl5/$perlversion/$archname \
+    --install_path bin=%i/bin \
+    --install_path bindoc=%i/lib/perl5/$perlversion/man/man1 \
+    --install_path lib=%i/lib/perl5/$perlversion \
+    --install_path libdoc=%i/lib/perl5/$perlversion/man/man3 \
+    --install_path script=%i/bin
+  ./Build
+#  ./Build test
+<<
+
 InstallScript: <<
-  %{default_script}
-  mv %i/share/man %i/lib/perl5/%type_raw[perl]
-  
-  rm %i/lib/perl5/%type_raw[perl]/darwin-thread-multi-2level/auto/Bio/.packlist
+ ./Build install
+ find %d -name .packlist -exec rm -rf {} \;
+
+ mkdir -p %i/share/%n/scripts
+ mv %i/bin/*.pl %i/share/%n/scripts/
 <<
+
 DescDetail: <<
 Bioperl-run contain modules that provides a PERL interface to various
 bioinformatics applications. This allows various applications to be

--- NEW FILE: bioperl-run-pm.patch ---
diff -Naur bioperl-run-1.5.2_100/Build.PL bioperl-run-1.5.2_100-patched/Build.PL
--- bioperl-run-1.5.2_100/Build.PL      2006-12-06 11:40:24.000000000 -0500
+++ bioperl-run-1.5.2_100-patched/Build.PL      2007-12-01 14:00:14.000000000 
-0500
@@ -33,7 +33,7 @@
 );
 
 # Ask questions
-pise_email();
+#pise_email();
 $build->choose_scripts;
 
 # Create the build script and exit
diff -Naur bioperl-run-1.5.2_100/ModuleBuildBioperl.pm 
bioperl-run-1.5.2_100-patched/ModuleBuildBioperl.pm
--- bioperl-run-1.5.2_100/ModuleBuildBioperl.pm 2006-12-06 11:40:24.000000000 
-0500
+++ bioperl-run-1.5.2_100-patched/ModuleBuildBioperl.pm 2007-12-01 
14:01:10.000000000 -0500
@@ -91,9 +91,10 @@
         }
     }
     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 = $self->prompt($question, 'a');
+#    my $prompt = $self->prompt($question, 'a');
+    my $prompt = 'a';
     
     if ($prompt =~ /^[aA]/) {
         $self->log_info("  - will install all scripts\n");


-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to