[86477] users/eborisch/python/py-pyqt4/Portfile
eborisch at macports.org
eborisch at macports.org
Wed Oct 26 07:04:05 PDT 2011
Revision: 86477
http://trac.macports.org/changeset/86477
Author: eborisch at macports.org
Date: 2011-10-26 07:04:02 -0700 (Wed, 26 Oct 2011)
Log Message:
-----------
py-pyqt4: (sandboxed) Fix scintilla dep.
Modified Paths:
--------------
users/eborisch/python/py-pyqt4/Portfile
Modified: users/eborisch/python/py-pyqt4/Portfile
===================================================================
--- users/eborisch/python/py-pyqt4/Portfile 2011-10-26 13:29:13 UTC (rev 86476)
+++ users/eborisch/python/py-pyqt4/Portfile 2011-10-26 14:04:02 UTC (rev 86477)
@@ -56,17 +56,19 @@
depends_lib-append port:phonon
}
-variant scintilla description {Add QScintilla API file } {
- configure.args-delete --no-qsci-api
- configure.args-append --qsci-api
- depends_lib-append port:py27-qscintilla
+if {${python.version} == 26 || ${python.version} == 27} {
+ variant scintilla description {Add QScintilla API file } {
+ configure.args-delete --no-qsci-api
+ configure.args-append --qsci-api
+ depends_lib-append port:py${python.version}-qscintilla
+ }
}
# The patch file alters configure.py so that the qtdesigner plugin can link.
# - it ensures that both LFLAGS are included and that the relevant version framework is linked
patchfiles patch-configure.py
post-patch {
- reinplace "s|@@MACPORTS_PYTHON_FRAMEWORK@@|${frameworks_dir}/Python.framework/Versions/${python.branch}/Python|" ${worksrcpath}/configure.py
+ reinplace "s|@@MACPORTS_PYTHON_FRAMEWORK@@|${python.prefix}/Python|" ${worksrcpath}/configure.py
}
use_configure yes
@@ -173,3 +175,4 @@
livecheck.type regex
livecheck.url http://www.riverbankcomputing.co.uk/software/pyqt/download
livecheck.regex "PyQt-mac-gpl-(\[0-9.\]\\.\[0-9.\]\\.\[0-9.\]).tar.gz"
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111026/6802eb07/attachment.html>
More information about the macports-changes
mailing list