[63803] trunk/dports/python
ram at macports.org
ram at macports.org
Mon Feb 15 11:06:23 PST 2010
Revision: 63803
http://trac.macports.org/changeset/63803
Author: ram at macports.org
Date: 2010-02-15 11:06:21 -0800 (Mon, 15 Feb 2010)
Log Message:
-----------
python/py26-pyfftw3: new port, python interface to fftw3 libraries
Added Paths:
-----------
trunk/dports/python/py26-pyfftw3/
trunk/dports/python/py26-pyfftw3/Portfile
trunk/dports/python/py26-pyfftw3/files/
trunk/dports/python/py26-pyfftw3/files/patch-setup.py.diff
Added: trunk/dports/python/py26-pyfftw3/Portfile
===================================================================
--- trunk/dports/python/py26-pyfftw3/Portfile (rev 0)
+++ trunk/dports/python/py26-pyfftw3/Portfile 2010-02-15 19:06:21 UTC (rev 63803)
@@ -0,0 +1,41 @@
+# $Id$
+
+PortSystem 1.0
+PortGroup python26 1.0
+
+name py26-pyfftw3
+version 0.2
+set branch [join [lrange [split ${version} .] 0 1] .]
+categories python math
+platforms darwin
+maintainers ram openmaintainer
+
+description Python bindings to FFTW3
+long_description Python bindings to the FFTW3 C-library for computing \
+ discrete Fourier transforms.
+
+homepage https://launchpad.net/pyfftw
+master_sites http://launchpad.net/pyfftw/trunk/${branch}/+download/
+distname PyFFTW3-${version}
+
+checksums md5 41abaf57bc86bf57e069c95e78292092 \
+ sha1 b59c9e44e8c2b9558ed026d1484d4a09c2bbdbe7 \
+ rmd160 927c37576830df24ad1107efd007c3a1f9b784f2
+
+depends_lib-append port:fftw-3 \
+ port:fftw-3-single \
+ port:fftw-3-long
+
+patchfiles patch-setup.py.diff
+
+post-patch {
+ reinplace "s|@@MP_PREFIX@@|${prefix}|" ${worksrcpath}/setup.py
+}
+
+python.link_binaries no
+
+universal_variant no
+
+livecheck.type regex
+livecheck.url ${homepage}
+livecheck.regex {Latest version is (\d+(?:\.\d+)*)}
Property changes on: trunk/dports/python/py26-pyfftw3/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/python/py26-pyfftw3/files/patch-setup.py.diff
===================================================================
--- trunk/dports/python/py26-pyfftw3/files/patch-setup.py.diff (rev 0)
+++ trunk/dports/python/py26-pyfftw3/files/patch-setup.py.diff 2010-02-15 19:06:21 UTC (rev 63803)
@@ -0,0 +1,11 @@
+--- setup.py 2010-02-13 22:13:26.000000000 -0600
++++ setup.py 2010-02-15 12:02:47.000000000 -0600
+@@ -30,7 +30,7 @@
+ try:
+ FFTW_PATH = os.environ['FFTW_PATH']
+ except KeyError:
+- FFTW_PATH=r'/sw/lib'
++ FFTW_PATH=r'@@MP_PREFIX@@/lib'
+ packages_library_names = {'fftw3': 'libfftw3.dylib', 'fftw3f' : 'libfftw3f.dylib',
+ 'fftw3l': 'libfftw3l.dylib'}
+ else:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100215/8b057188/attachment.html>
More information about the macports-changes
mailing list