[73984] trunk/dports/python
ryandesign at macports.org
ryandesign at macports.org
Tue Nov 30 23:39:06 PST 2010
Revision: 73984
http://trac.macports.org/changeset/73984
Author: ryandesign at macports.org
Date: 2010-11-30 23:39:00 -0800 (Tue, 30 Nov 2010)
Log Message:
-----------
py27-h5py: new port, version 1.3.0, based on py26-h5py; see #26795
Modified Paths:
--------------
trunk/dports/python/py27-h5py/Portfile
Added Paths:
-----------
trunk/dports/python/py27-h5py/
trunk/dports/python/py27-h5py/files/
trunk/dports/python/py27-h5py/files/patch-detect.py.diff
Modified: trunk/dports/python/py27-h5py/Portfile
===================================================================
--- trunk/dports/python/py26-h5py/Portfile 2010-11-30 01:24:17 UTC (rev 73934)
+++ trunk/dports/python/py27-h5py/Portfile 2010-12-01 07:39:00 UTC (rev 73984)
@@ -2,9 +2,9 @@
# $Id$
PortSystem 1.0
-PortGroup python26 1.0
+PortGroup python27 1.0
-name py26-h5py
+name py27-h5py
version 1.3.0
revision 2
platforms darwin
@@ -28,6 +28,8 @@
sha1 9398cb3a11ea7f6b62738330206c7dce7c7c2132 \
rmd160 49e475ca6bf2de375eb98b5c8cca78b534d1ef6f
+patchfiles patch-detect.py.diff
+
use_configure yes
configure.universal_args
@@ -36,7 +38,7 @@
configure.args --api=18 --hdf5=${prefix}
build.cmd-delete --no-user-cfg
-depends_lib-append port:py26-numpy port:hdf5-18
+depends_lib-append port:py27-numpy port:hdf5-18
post-destroot {
system "chmod -R a+r ${destroot}${prefix}"
Added: trunk/dports/python/py27-h5py/files/patch-detect.py.diff
===================================================================
--- trunk/dports/python/py27-h5py/files/patch-detect.py.diff (rev 0)
+++ trunk/dports/python/py27-h5py/files/patch-detect.py.diff 2010-12-01 07:39:00 UTC (rev 73984)
@@ -0,0 +1,11 @@
+--- detect.py.orig 2010-10-10 15:53:12.000000000 +0200
++++ detect.py 2010-10-10 15:55:05.000000000 +0200
+@@ -9,7 +9,7 @@
+ """
+
+ from distutils import ccompiler
+- from distutils.core import CompileError, LinkError
++ from distutils.errors import CompileError, LinkError
+ import subprocess
+
+ cc = ccompiler.new_compiler()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101130/ae450a6f/attachment.html>
More information about the macports-changes
mailing list