[117992] trunk/dports/python/py-pyqt4/Portfile

michaelld at macports.org michaelld at macports.org
Tue Mar 18 09:37:58 PDT 2014


Revision: 117992
          https://trac.macports.org/changeset/117992
Author:   michaelld at macports.org
Date:     2014-03-18 09:37:57 -0700 (Tue, 18 Mar 2014)
Log Message:
-----------
py*-pyqt4:
+ enable +scintilla variant for all Python versions;
+ enable dbus-python for any Python < 3.0.

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

Modified: trunk/dports/python/py-pyqt4/Portfile
===================================================================
--- trunk/dports/python/py-pyqt4/Portfile	2014-03-18 15:53:02 UTC (rev 117991)
+++ trunk/dports/python/py-pyqt4/Portfile	2014-03-18 16:37:57 UTC (rev 117992)
@@ -156,15 +156,17 @@
         depends_lib-append      port:phonon
     }
 
-    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:qscintilla
-        }
 
-        # dbus-python does not yet work correctly with 2.5- or 3.0+
+    variant scintilla description {Add QScintilla API file } {
+        configure.args-delete   --no-qsci-api
+        configure.args-append   --qsci-api
+        depends_lib-append      port:qscintilla
+    }
 
+    # dbus-python does not yet work correctly with 3.0+
+
+    if {${python.version} <= 27} {
+
         depends_lib-append port:dbus-python${python.version}
         configure.args-append --dbus=${python.include}/dbus-1.0
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140318/6d4f4d4c/attachment.html>


More information about the macports-changes mailing list