Ignore:
Timestamp:
Nov 17, 2011, 8:23:11 AM (8 years ago)
Author:
jmr@…
Message:

py-matplotlib: change py-tz dep to py24-tz, fix names of some other dependencies

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/python/py-matplotlib/Portfile

    r87331 r87332  
    3030if {${subport} == "py24-matplotlib"} {
    3131  depends_lib-append port:py24-dateutil \
    32                      port:py-tz \
     32                     port:py24-tz \
    3333                     port:py24-numpy \
    3434                     port:py-configobj \
     
    8383variant cairo description "Enable Cairo backends" {
    8484  if {${subport} == "py24-matplotlib"} {
    85     depends_lib-append port:py-cario
     85    depends_lib-append port:py-cairo
    8686  } elseif {${subport} != ${name}} {
    8787    depends_lib-append port:py${python.version}-cairo
     
    9494variant gtk2 description "Enable GTKAgg backend" {
    9595  if {${subport} == "py24-matplotlib"} {
    96     depends_lib-append port:py-gtk
     96    depends_lib-append port:py-gtk2
    9797  } elseif {${subport} != ${name}} {
    9898    depends_lib-append port:py${python.version}-gtk
     
    105105
    106106variant tkinter description "Enable tkAgg backend" {
    107   if {${subport} == "py24-matplotlib"} {
    108     depends_lib-append port:py-tkinter
    109   } elseif {${subport} != ${name}} {
    110     depends_lib-append port:py${python.version}-tkinter
    111   }
     107  depends_lib-append port:py${python.version}-tkinter
    112108  post-patch {
    113109    reinplace "s|^tkagg=False|tkagg=True|" ${worksrcpath}/setup.cfg
     
    127123
    128124variant qt4 description "Enable QT4Agg backend" {
    129   if {${subport} == "py24-matplotlib"} {
    130     depends_lib-append port:py-pyqt4
    131   } elseif {${subport} != ${name}} {
    132     depends_lib-append port:py${python.version}-pyqt4
    133   }
     125  depends_lib-append port:py${python.version}-pyqt4
    134126  post-patch {
    135127    reinplace "s|MP_QT4=False|MP_QT4=True|" ${worksrcpath}/setupext.py
Note: See TracChangeset for help on using the changeset viewer.