[30476] trunk/dports/python

source_changes at macosforge.org source_changes at macosforge.org
Sun Oct 28 15:53:58 PDT 2007


Revision: 30476
          http://trac.macosforge.org/projects/macports/changeset/30476
Author:   mww at macports.org
Date:     2007-10-28 15:53:57 -0700 (Sun, 28 Oct 2007)

Log Message:
-----------
new port python/py25-biopython

Added Paths:
-----------
    trunk/dports/python/py25-biopython/
    trunk/dports/python/py25-biopython/Portfile
    trunk/dports/python/py25-biopython/files/
    trunk/dports/python/py25-biopython/files/patch-setup.py

Added: trunk/dports/python/py25-biopython/Portfile
===================================================================
--- trunk/dports/python/py25-biopython/Portfile	                        (rev 0)
+++ trunk/dports/python/py25-biopython/Portfile	2007-10-28 22:53:57 UTC (rev 30476)
@@ -0,0 +1,41 @@
+# $Id: Portfile 30473 2007-10-28 22:37:45Z mww at macports.org $
+
+PortSystem 1.0
+PortGroup python25 1.0
+
+name			py25-biopython
+version			1.44
+categories		python science
+maintainers		mww
+platforms		darwin
+description		python tools for computational molecular biology
+long_description	python tools for computational molecular biology: \
+				parsers for various file formats, interfaces for programs, \
+				tools for performing common operations on sequences, etc.
+
+homepage		http://www.biopython.org/
+master_sites	${homepage}/DIST
+distname		biopython-${version}
+checksums		sha1 ca2a35c9e92a219256fe4fc2a232df5328f9f5d9
+patchfiles		patch-setup.py
+
+depends_lib-append	port:py25-numeric \
+				port:py25-mx-base \
+				port:py25-reportlab
+
+build.env	CFLAGS=-I${python.include}
+
+test.run		no
+test.cmd		${build.cmd}
+test.target		test
+
+post-destroot	{
+	file delete -force ${destroot}${prefix}/share/doc/${name}
+	file copy ${worksrcpath}/Doc ${destroot}${prefix}/share/doc/${name}
+	xinstall -m 644 -W ${worksrcpath} CONTRIB DEPRECATED LICENSE NEWS README \
+		${destroot}${prefix}/share/doc/${name}
+}
+
+livecheck.check	regex
+livecheck.url	http://biopython.org/wiki/Download
+livecheck.regex	biopython-(\[0-9\.\]+).tar.gz

Added: trunk/dports/python/py25-biopython/files/patch-setup.py
===================================================================
--- trunk/dports/python/py25-biopython/files/patch-setup.py	                        (rev 0)
+++ trunk/dports/python/py25-biopython/files/patch-setup.py	2007-10-28 22:53:57 UTC (rev 30476)
@@ -0,0 +1,11 @@
+--- setup.py	2007-10-27 09:11:01.000000000 +0200
++++ setup.py	2007-10-28 23:41:55.000000000 +0100
+@@ -120,7 +120,7 @@
+ 
+ Would you like to build Bio.KDTree ?"""
+ 
+-    if get_yes_or_no (kdtree_msg, 0):
++    if True:
+         NUMPY_PACKAGES.append("Bio.KDTree")
+         NUMPY_EXTENSIONS.append(
+             CplusplusExtension('Bio.KDTree._CKDTree', 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071028/a675e30b/attachment.html


More information about the macports-changes mailing list