[75342] trunk/dports/python/py27-pyqt4/Portfile

michaelld at macports.org michaelld at macports.org
Sat Jan 22 12:19:12 PST 2011


Revision: 75342
          http://trac.macports.org/changeset/75342
Author:   michaelld at macports.org
Date:     2011-01-22 12:19:11 -0800 (Sat, 22 Jan 2011)
Log Message:
-----------
py27-pyqt4: Add missing 'Q' in UIC code; ticket #27801.

Modified Paths:
--------------
    trunk/dports/python/py27-pyqt4/Portfile

Modified: trunk/dports/python/py27-pyqt4/Portfile
===================================================================
--- trunk/dports/python/py27-pyqt4/Portfile	2011-01-22 16:30:13 UTC (rev 75341)
+++ trunk/dports/python/py27-pyqt4/Portfile	2011-01-22 20:19:11 UTC (rev 75342)
@@ -6,6 +6,7 @@
 
 name		py27-pyqt4
 version		4.8.2
+revision    1
 categories	python devel
 platforms	macosx
 maintainers     michaelld openmaintainer
@@ -35,6 +36,10 @@
 patchfiles	patch-configure.py
 post-patch {
     reinplace "s|@@MACPORTS_PYTHON_FRAMEWORK@@|${frameworks_dir}/Python.framework/Versions/${pyversion}/Python|" ${worksrcpath}/configure.py
+
+    # fix missing "Q" in UIC code
+    reinplace "s,\\.StackedWidget,.QStackedWidget,g" \
+        ${worksrcpath}/pyuic/uic/uiparser.py
 }
 
 pre-configure {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110122/9a954bfd/attachment.html>


More information about the macports-changes mailing list