pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/biology/bioperl Fixed one unit test.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b94ecf453f6e
branches:  trunk
changeset: 519426:b94ecf453f6e
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Mon Oct 02 21:34:28 2006 +0000

description:
Fixed one unit test.

diffstat:

 biology/bioperl/distinfo         |   3 ++-
 biology/bioperl/patches/patch-aa |  21 +++++++++++++++++++++
 2 files changed, 23 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r c155b3bced0b -r b94ecf453f6e biology/bioperl/distinfo
--- a/biology/bioperl/distinfo  Mon Oct 02 21:27:03 2006 +0000
+++ b/biology/bioperl/distinfo  Mon Oct 02 21:34:28 2006 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2005/02/22 21:28:55 agc Exp $
+$NetBSD: distinfo,v 1.4 2006/10/02 21:34:28 rillig Exp $
 
 SHA1 (bioperl-0.7.0.tar.gz) = c86abeeb5f2e2b98d1577d9cefd51ce15bbcb6b6
 RMD160 (bioperl-0.7.0.tar.gz) = 41c4162d8d8ec5b406ba34d0d48702700d62108d
 Size (bioperl-0.7.0.tar.gz) = 1329985 bytes
+SHA1 (patch-aa) = 2e1064f4d7c343cf62f53f2a179a3a1841220dc7
diff -r c155b3bced0b -r b94ecf453f6e biology/bioperl/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/biology/bioperl/patches/patch-aa  Mon Oct 02 21:34:28 2006 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.3 2006/10/02 21:34:28 rillig Exp $
+
+If LWP::UserAgent is not available, exit before the module is required
+implicitly by Bio::DB::GDB.
+
+--- t/GDB.t.orig       2001-03-01 10:11:15.000000000 +0100
++++ t/GDB.t    2006-10-02 23:30:15.000000000 +0200
+@@ -33,10 +33,9 @@ BEGIN {
+       foreach ( 1..$NUMTESTS) { skip(1,1); }
+       $error = 1;
+     }
+-}
+-
+-if( $error == 1 ) {
+-    exit(0);
++    if( $error == 1 ) {
++      exit(0);
++    }
+ }
+ 
+ use Bio::DB::GDB;



Home | Main Index | Thread Index | Old Index