Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/perlmods
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv30321
Modified Files:
insilicospectro-pm.info
Log Message:
fix self-test
Index: insilicospectro-pm.info
===================================================================
RCS file:
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/perlmods/insilicospectro-pm.info,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- insilicospectro-pm.info 2 Aug 2010 08:45:10 -0000 1.32
+++ insilicospectro-pm.info 9 Aug 2010 19:30:41 -0000 1.33
@@ -36,7 +36,19 @@
PatchScript: <<
perl -pi -e 's/ (InSilicoSpectro::InSilico::MassCalculator::modifToString)/
&\1/' lib/InSilicoSpectro/InSilico/Peptide.pm
- perl -pi -e 's/ perl / perl%type_raw[perl] /' t/InSilico.t t/Spectra.t
t/Utils.t
+ perl -pi -e 's/ perl / \$ENV{FULLPERL} /' t/InSilico.t t/Spectra.t t/Utils.t
+<<
+
+InfoTest: <<
+ TestScript: <<
+ #!/bin/sh -ex
+ perlversion=%type_raw[perl]
+ export FULLPERL="perl$perlversion"
+ if dpkg --compare-versions "$perlversion" ">=" "5.10.0" && [
"%m" != "powerpc" ]; then
+ FULLPERL="/usr/bin/arch -%m $FULLPERL"
+ fi
+ %{default_script}
+ <<
<<
InstallScript: <<
@@ -72,7 +84,7 @@
Fix bareword in Peptide.pm that to avoid weird context effect.
Fix tests to use the correct perl interp.
- See: http://rt.cpan.org/Public/Bug/Display.html?id=17714
+ See: thtp://rt.cpan.org/Public/Bug/Display.html?id=17714
<<
License: LGPL
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs