[87332] trunk/dports/python/py-matplotlib/Portfile
jmr at macports.org
jmr at macports.org
Thu Nov 17 00:23:11 PST 2011
Revision: 87332
http://trac.macports.org/changeset/87332
Author: jmr at macports.org
Date: 2011-11-17 00:23:11 -0800 (Thu, 17 Nov 2011)
Log Message:
-----------
py-matplotlib: change py-tz dep to py24-tz, fix names of some other dependencies
Modified Paths:
--------------
trunk/dports/python/py-matplotlib/Portfile
Modified: trunk/dports/python/py-matplotlib/Portfile
===================================================================
--- trunk/dports/python/py-matplotlib/Portfile 2011-11-17 08:17:21 UTC (rev 87331)
+++ trunk/dports/python/py-matplotlib/Portfile 2011-11-17 08:23:11 UTC (rev 87332)
@@ -29,7 +29,7 @@
if {${subport} == "py24-matplotlib"} {
depends_lib-append port:py24-dateutil \
- port:py-tz \
+ port:py24-tz \
port:py24-numpy \
port:py-configobj \
port:py-pyobjc2 \
@@ -82,7 +82,7 @@
variant cairo description "Enable Cairo backends" {
if {${subport} == "py24-matplotlib"} {
- depends_lib-append port:py-cario
+ depends_lib-append port:py-cairo
} elseif {${subport} != ${name}} {
depends_lib-append port:py${python.version}-cairo
}
@@ -93,7 +93,7 @@
variant gtk2 description "Enable GTKAgg backend" {
if {${subport} == "py24-matplotlib"} {
- depends_lib-append port:py-gtk
+ depends_lib-append port:py-gtk2
} elseif {${subport} != ${name}} {
depends_lib-append port:py${python.version}-gtk
}
@@ -104,11 +104,7 @@
}
variant tkinter description "Enable tkAgg backend" {
- if {${subport} == "py24-matplotlib"} {
- depends_lib-append port:py-tkinter
- } elseif {${subport} != ${name}} {
- depends_lib-append port:py${python.version}-tkinter
- }
+ depends_lib-append port:py${python.version}-tkinter
post-patch {
reinplace "s|^tkagg=False|tkagg=True|" ${worksrcpath}/setup.cfg
}
@@ -126,11 +122,7 @@
}
variant qt4 description "Enable QT4Agg backend" {
- if {${subport} == "py24-matplotlib"} {
- depends_lib-append port:py-pyqt4
- } elseif {${subport} != ${name}} {
- depends_lib-append port:py${python.version}-pyqt4
- }
+ depends_lib-append port:py${python.version}-pyqt4
post-patch {
reinplace "s|MP_QT4=False|MP_QT4=True|" ${worksrcpath}/setupext.py
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111117/dbdb41fa/attachment-0001.html>
More information about the macports-changes
mailing list