[49940] trunk/dports/python/py25-pyqwt/Portfile
macsforever2000 at macports.org
macsforever2000 at macports.org
Mon Apr 20 09:30:51 PDT 2009
Revision: 49940
http://trac.macports.org/changeset/49940
Author: macsforever2000 at macports.org
Date: 2009-04-20 09:30:47 -0700 (Mon, 20 Apr 2009)
Log Message:
-----------
Use numpy only by default because it is preferred. See <http://pyqwt.sourceforge.net/doc5/installation.html#source-code-installation>. Added workaround for python25 framework bug.
Modified Paths:
--------------
trunk/dports/python/py25-pyqwt/Portfile
Modified: trunk/dports/python/py25-pyqwt/Portfile
===================================================================
--- trunk/dports/python/py25-pyqwt/Portfile 2009-04-20 16:06:01 UTC (rev 49939)
+++ trunk/dports/python/py25-pyqwt/Portfile 2009-04-20 16:30:47 UTC (rev 49940)
@@ -4,6 +4,7 @@
name py25-pyqwt
version 5.1.0
+revision 1
platforms macosx
categories python devel
maintainers nomaintainer
@@ -17,15 +18,20 @@
sha1 d1b55e4a7400889e1d0831f8d6f3b692fc37aecb \
rmd160 e8bbf154a9e30894977494829bf379a807fdf1e9
-depends_lib port:qt4-mac port:qwt port:python25
+depends_lib port:qt4-mac \
+ port:qwt \
+ port:python25 \
+ port:py25-numpy
worksrcdir ${worksrcdir}/configure
configure.cmd ${prefix}/bin/python2.5 configure.py
-configure.pre_args -I ${prefix}/include -I ${prefix}/include/python2.5 -L ${prefix}/lib
+configure.pre_args -I ${prefix}/include -I ${prefix}/include/qwt -I ${prefix}/include/python2.5 -L ${prefix}/lib --disable-numarray --disable-numeric
build.target
-variant numpy description "Use numpy as array-object" {
- depends_lib-append port:py25-numpy
+post-destroot {
+ # Workaround for python25 framework bug (#16334)
+ move ${destroot}${frameworks_dir}/Python.framework/Versions/2.5/lib/python2.5 \
+ ${destroot}${prefix}/lib/python2.5
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090420/fdf5141c/attachment.html>
More information about the macports-changes
mailing list