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

mmoll at macports.org mmoll at macports.org
Fri Oct 24 12:31:43 PDT 2014


Revision: 127280
          https://trac.macports.org/changeset/127280
Author:   mmoll at macports.org
Date:     2014-10-24 12:31:43 -0700 (Fri, 24 Oct 2014)
Log Message:
-----------
py-matplotlib: pyside variant only enabled for py27 and py34 subports

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

Modified: trunk/dports/python/py-matplotlib/Portfile
===================================================================
--- trunk/dports/python/py-matplotlib/Portfile	2014-10-24 19:26:55 UTC (rev 127279)
+++ trunk/dports/python/py-matplotlib/Portfile	2014-10-24 19:31:43 UTC (rev 127280)
@@ -108,10 +108,12 @@
         }
     }
 
-    variant pyside description "Enable PySide backend" {
-        depends_lib-append  port:py${python.version}-pyside
-        post-patch {
-            reinplace "s|^pyside=False|pyside=True|" ${worksrcpath}/setup.cfg
+    if {${python.version} == 27 || ${python.version} == 34} {
+        variant pyside description "Enable PySide backend" {
+            depends_lib-append  port:py${python.version}-pyside
+            post-patch {
+                reinplace "s|^pyside=False|pyside=True|" ${worksrcpath}/setup.cfg
+            }
         }
     }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141024/f54c06dd/attachment.html>


More information about the macports-changes mailing list