Revision
75342
Author
michaelld@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

Diff

Modified: trunk/dports/python/py27-pyqt4/Portfile (75341 => 75342)


--- 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 {