[97943] trunk/dports/python/py-h5py/Portfile
eborisch at macports.org
eborisch at macports.org
Thu Sep 20 07:56:34 PDT 2012
Revision: 97943
http://trac.macports.org//changeset/97943
Author: eborisch at macports.org
Date: 2012-09-20 07:56:33 -0700 (Thu, 20 Sep 2012)
Log Message:
-----------
py-h5py: Move subport block to make things work...
Modified Paths:
--------------
trunk/dports/python/py-h5py/Portfile
Modified: trunk/dports/python/py-h5py/Portfile
===================================================================
--- trunk/dports/python/py-h5py/Portfile 2012-09-20 14:47:24 UTC (rev 97942)
+++ trunk/dports/python/py-h5py/Portfile 2012-09-20 14:56:33 UTC (rev 97943)
@@ -10,6 +10,26 @@
# h5py needs to be re-built after hdf5-18 upgrades
revision 3
+checksums \
+ rmd160 75170ff5de1f7fb0eeda02525343285fb6213ced \
+ sha256 cc5242c8ede616af9d8781c6d06603ff5a1f0de3044877176cc31a00cc581c40
+
+# Support for -devel
+set DEV_VERSION 0
+
+subport py26-h5py-devel {set DEV_VERSION 26}
+subport py27-h5py-devel {set DEV_VERSION 27}
+subport py31-h5py-devel {set DEV_VERSION 31}
+subport py32-h5py-devel {set DEV_VERSION 32}
+
+if {${DEV_VERSION}} {
+ version 2.1.0b2
+ python.version ${DEV_VERSION}
+ checksums \
+ rmd160 20a9bc4acd0ba624019130c117118250a2c3f1c7 \
+ sha256 fedd992225fa5afb25c6cc14fcdaa246733b09863821a5e4547d2f65df623e3d
+}
+
python.versions 26 27 31 32
python.default_version 27
platforms darwin
@@ -36,26 +56,7 @@
master_sites http://h5py.googlecode.com/files/
distname h5py-${version}
-checksums \
- rmd160 75170ff5de1f7fb0eeda02525343285fb6213ced \
- sha256 cc5242c8ede616af9d8781c6d06603ff5a1f0de3044877176cc31a00cc581c40
-# Support for -devel
-set DEV_VERSION 0
-
-subport py26-h5py-devel {set DEV_VERSION 26}
-subport py27-h5py-devel {set DEV_VERSION 27}
-subport py31-h5py-devel {set DEV_VERSION 31}
-subport py32-h5py-devel {set DEV_VERSION 32}
-
-if {${DEV_VERSION}} {
- version 2.1.0b2
- python.version ${DEV_VERSION}
- checksums \
- rmd160 20a9bc4acd0ba624019130c117118250a2c3f1c7 \
- sha256 fedd992225fa5afb25c6cc14fcdaa246733b09863821a5e4547d2f65df623e3d
-}
-
if {$subport != $name} {
depends_lib-append port:py${python.version}-numpy \
port:hdf5-18
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120920/ace1a278/attachment.html>
More information about the macports-changes
mailing list