[145169] trunk/dports/python/py-matplotlib/Portfile

michaelld at macports.org michaelld at macports.org
Wed Jan 27 05:49:36 PST 2016


Revision: 145169
          https://trac.macports.org/changeset/145169
Author:   michaelld at macports.org
Date:     2016-01-27 05:49:36 -0800 (Wed, 27 Jan 2016)
Log Message:
-----------
py*-matplotlib:
+ simplify python.version check for +gtk3;
+ add python35 support for +pyside.

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

Modified: trunk/dports/python/py-matplotlib/Portfile
===================================================================
--- trunk/dports/python/py-matplotlib/Portfile	2016-01-27 13:37:28 UTC (rev 145168)
+++ trunk/dports/python/py-matplotlib/Portfile	2016-01-27 13:49:36 UTC (rev 145169)
@@ -98,7 +98,7 @@
         }
     }
 
-    if {${python.version} > 26 && ${python.version} < 30} {
+    if {${python.version} == 27} {
         variant gtk3 description "Enable GTK3Agg backend" {
             depends_lib-append  port:py${python.version}-gobject3 port:gtk3
             post-patch {
@@ -115,7 +115,9 @@
         }
     }
 
-    if {${python.version} == 27 || ${python.version} == 34} {
+    if {${python.version} == 27 ||
+        ${python.version} == 34 ||
+        ${python.version} == 35} {
         variant pyside description "Enable PySide backend" {
             depends_lib-append  port:py${python.version}-pyside
             post-patch {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160127/f74cdba3/attachment-0001.html>


More information about the macports-changes mailing list