Revision: 145169 https://trac.macports.org/changeset/145169 Author: michaelld@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 {
participants (1)
-
michaelld@macports.org