[129837] trunk/dports/aqua/qtiplot/Portfile

nicos at macports.org nicos at macports.org
Sun Dec 21 05:27:00 PST 2014


Revision: 129837
          https://trac.macports.org/changeset/129837
Author:   nicos at macports.org
Date:     2014-12-21 05:27:00 -0800 (Sun, 21 Dec 2014)
Log Message:
-----------
qtiplot: make older python variants obsolete

Modified Paths:
--------------
    trunk/dports/aqua/qtiplot/Portfile

Modified: trunk/dports/aqua/qtiplot/Portfile
===================================================================
--- trunk/dports/aqua/qtiplot/Portfile	2014-12-21 13:22:59 UTC (rev 129836)
+++ trunk/dports/aqua/qtiplot/Portfile	2014-12-21 13:27:00 UTC (rev 129837)
@@ -6,7 +6,7 @@
 
 name                qtiplot
 version             0.9.8.9
-revision            9
+revision            10
 categories          aqua science
 license             GPL-2+
 maintainers         nicos openmaintainer
@@ -65,12 +65,6 @@
       puts $confFD "TEX_ENGINE_LIBS = \$\$QTI_ROOT/3rdparty/QTeXEngine/libQTeXEngine.a"
     }
 
-   if {[variant_isset python25]} {
-       puts $confFD "PYTHON = ${prefix}/bin/python2.5"
-   }
-   if {[variant_isset python26]} {
-       puts $confFD "PYTHON = ${prefix}/bin/python2.6"
-   }
    if {[variant_isset python27]} {
        puts $confFD "PYTHON = ${prefix}/bin/python2.7"
    }
@@ -78,7 +72,7 @@
     # target specific configuration
     puts $confFD "contains( TARGET, qtiplot ) \{"
     puts $confFD "SCRIPTING_LANGS += muParser"; # currently you can't build without
-    if {[variant_isset python25] || [variant_isset python26] || [variant_isset python27]} {
+    if {[variant_isset python27]} {
         puts $confFD "SCRIPTING_LANGS += Python"
     }
     puts $confFD "DEFINES += SCRIPTING_CONSOLE"
@@ -149,22 +143,12 @@
                       sha256  fc60c18bd0af5947d2d7dbc3d1b5b16ed251d9f317cc548228347f081a0b67d5
 }
 
-variant python25 conflicts python26 python27 description "add support for python26 scripting" {
-    # Can use either py*-pyqt4 or py*-pyqt4-devel.
-    depends_lib-append port:python25 \
-                       port:py25-sip \
-                       path:share/py25-sip/PyQt4:py25-pyqt4
-}
+#python25 and python26 variants made obsolete on 2014/12/21
+variant python25 description "Legacy compatibility variant" requires python27 {}
+variant python26 description "Legacy compatibility variant" requires python27 {}
 
-variant python26 conflicts python25 python27 description "add support for python26 scripting" {
+variant python27 description "add support for python27 scripting" {
     # Can use either py*-pyqt4 or py*-pyqt4-devel.
-    depends_lib-append port:python26 \
-                       port:py26-sip \
-                       path:share/py26-sip/PyQt4:py26-pyqt4
-}
-
-variant python27 conflicts python25 python26 description "add support for python26 scripting" {
-    # Can use either py*-pyqt4 or py*-pyqt4-devel.
     depends_lib-append port:python27 \
                        port:py27-sip \
                        path:share/py27-sip/PyQt4:py27-pyqt4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141221/04da37d9/attachment-0001.html>


More information about the macports-changes mailing list