[114488] trunk/dports/python/py-matplotlib/Portfile
sean at macports.org
sean at macports.org
Mon Dec 9 11:02:46 PST 2013
Revision: 114488
https://trac.macports.org/changeset/114488
Author: sean at macports.org
Date: 2013-12-09 11:02:46 -0800 (Mon, 09 Dec 2013)
Log Message:
-----------
py-matplotlib: remove +gtk2 variant for python 3; fixes #40586
Modified Paths:
--------------
trunk/dports/python/py-matplotlib/Portfile
Modified: trunk/dports/python/py-matplotlib/Portfile
===================================================================
--- trunk/dports/python/py-matplotlib/Portfile 2013-12-09 18:41:05 UTC (rev 114487)
+++ trunk/dports/python/py-matplotlib/Portfile 2013-12-09 19:02:46 UTC (rev 114488)
@@ -82,11 +82,13 @@
}
}
- variant gtk2 description "Enable GTKAgg backend" {
- depends_lib-append port:py${python.version}-pygtk
- post-patch {
- reinplace "s|^gtk=False|gtk=True|" ${worksrcpath}/setup.cfg
- reinplace "s|^gtkagg=False|gtkagg=True|" ${worksrcpath}/setup.cfg
+ if {${python.version} < 30} {
+ variant gtk2 description "Enable GTKAgg backend" {
+ depends_lib-append port:py${python.version}-pygtk
+ post-patch {
+ reinplace "s|^gtk=False|gtk=True|" ${worksrcpath}/setup.cfg
+ reinplace "s|^gtkagg=False|gtkagg=True|" ${worksrcpath}/setup.cfg
+ }
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131209/6e96dddf/attachment.html>
More information about the macports-changes
mailing list