Update of /cvsroot/fink/dists/10.3/unstable/main/finkinfo/sci
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10737

Modified Files:
        python-biopython-py.info 
Added Files:
        python-biopython-py.patch 
Log Message:
added py24 variant and patch file

Index: python-biopython-py.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.3/unstable/main/finkinfo/sci/python-biopython-py.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- python-biopython-py.info    5 Nov 2004 00:20:30 -0000       1.1
+++ python-biopython-py.info    29 Apr 2005 02:27:55 -0000      1.2
@@ -1,17 +1,19 @@
 Info2: <<
 Package: python-biopython-py%type_pkg[python]
 Version: 1.30
-Revision: 1
-Type: python (2.2 2.3)
-Maintainer: Koen van der Drift <[EMAIL PROTECTED]>
-Depends: python%type_pkg[python] | python%type_pkg[python]-nox, 
python-mx-py%type_pkg[python], numeric-py%type_pkg[python], 
reportlab-py%type_pkg[python] 
-Source: http://www.biopython.org/Download/biopython-%v.tar.gz
+Revision: 2
+Type: python (2.2 2.3 2.4)
+Depends: python%type_pkg[python], python-mx-py%type_pkg[python], 
numeric-py%type_pkg[python], reportlab-py%type_pkg[python] 
+Source: http://biopython.org/files/biopython-%v.tar.gz
 Source-MD5: d8df866a40be20962b8ef52baa5376c1
+Patch: %{ni}.patch
 CompileScript: %p/bin/python%type_raw[python] setup.py build
 InstallScript: << 
   %p/bin/python%type_raw[python] setup.py install --prefix=%i
   mkdir -p %i/share/doc/%n/doc
   cp -R doc %i/share/doc/%n/doc
+  mkdir -p %i/share/%n
+  cp -R tests %i/share/%n/tests
 <<
 DocFiles: NEWS README CONTRIB LICENSE
 Description: Python tools for computational biology
@@ -25,5 +27,6 @@
 Previous Maintainer: Gavin Crooks <[EMAIL PROTECTED]>
 <<
 License: OSI-Approved
+Maintainer: Koen van der Drift <[EMAIL PROTECTED]>
 Homepage: http://biopython.org/
 <<

--- NEW FILE: python-biopython-py.patch ---
diff -Naur biopython-1.30/Bio/triemodule.c 
biopython-1.30-patched/Bio/triemodule.c
--- biopython-1.30/Bio/triemodule.c     Thu Apr 24 15:06:23 2003
+++ biopython-1.30-patched/Bio/triemodule.c     Sun Apr 24 08:23:04 2005
@@ -477,8 +477,15 @@
     int length;
     int success = 0;
 
-    if(!(py_marshalled = PyMarshal_WriteObjectToString(py_value)))
-       goto _write_value_to_handle_cleanup;
+       #ifdef Py_MARSHAL_VERSION  
+               if(!(py_marshalled =   
+               PyMarshal_WriteObjectToString(py_value, Py_MARSHAL_VERSION)))  
+                       goto _write_value_to_handle_cleanup;  
+       #else  
+               if(!(py_marshalled = PyMarshal_WriteObjectToString(py_value)))  
+                       goto _write_value_to_handle_cleanup;  
+       #endif  
+
     if(PyString_AsStringAndSize(py_marshalled, &marshalled, &length) == -1)
        goto _write_value_to_handle_cleanup;
     if(!_write_to_handle(&length, sizeof(length), handle))



-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to