[90184] trunk/dports/python/py-biopython/Portfile
adfernandes at macports.org
adfernandes at macports.org
Sat Feb 25 08:25:20 PST 2012
Revision: 90184
http://trac.macports.org/changeset/90184
Author: adfernandes at macports.org
Date: 2012-02-25 08:25:16 -0800 (Sat, 25 Feb 2012)
Log Message:
-----------
py-biopython: convert to subport system and version bump to 1.59
Modified Paths:
--------------
trunk/dports/python/py-biopython/Portfile
Modified: trunk/dports/python/py-biopython/Portfile
===================================================================
--- trunk/dports/python/py-biopython/Portfile 2012-02-25 14:22:38 UTC (rev 90183)
+++ trunk/dports/python/py-biopython/Portfile 2012-02-25 16:25:16 UTC (rev 90184)
@@ -2,11 +2,10 @@
# $Id$
PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
name py-biopython
-version 1.58
-#revision 1
+version 1.59
categories python science
maintainers nomaintainer
platforms darwin
@@ -18,27 +17,38 @@
homepage http://www.biopython.org/
master_sites ${homepage}/DIST
distname biopython-${version}
-checksums md5 5c48a52a7bbdda032f1e71b91650e4ca \
- sha1 3db0819d0046cfcd1c9aaf39aa7db40b9aa2645e \
- rmd160 3e05426017e98cdc45cacfb08b1b5d7c3d4b10ff
+checksums md5 3766ab5169bec7d3508a563c91d1e0ba \
+ sha1 dc8e9d76b208a2c2fcc8d4e10c7bbf0cc56dbbfd \
+ rmd160 2d08fe70d131cd2a90019465a4f5f680b4c92da3
patchfiles patch-setup.diff
-depends_lib-append port:py24-numpy \
- port:py-reportlab \
- port:flex
+# Note that python31 and python32 support are in beta,
+# but reportlab does not seem available for python3
+
+python.versions 25 26 27
+python.default_version 27
+
+if { $subport != $name } {
+
+ depends_lib-append port:py${python.version}-numpy \
+ port:py${python.version}-reportlab \
+ port:flex
+
+ post-destroot {
+ file delete -force ${destroot}${prefix}/share/doc/${subport}
+ file copy ${worksrcpath}/Doc ${destroot}${prefix}/share/doc/${subport}
+ xinstall -m 644 -W ${worksrcpath} CONTRIB DEPRECATED LICENSE NEWS README \
+ ${destroot}${prefix}/share/doc/${subport}
+ }
+
+}
+
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.type regex
livecheck.url http://biopython.org/wiki/Download
livecheck.regex biopython-(\[0-9\.\]+).tar.gz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120225/50009529/attachment.html>
More information about the macports-changes
mailing list