Skip to content
Permalink
Browse files

py-matplotlib: update dependencies

- remove obsolete functools32 (since v2.1.0)
- add build dependency on setuptools
- remove tornado from default dependency list, is only part of the
    webagg backend
- sort dependencies alphabetically
  • Loading branch information
reneeotten authored and pmetzger committed Oct 11, 2018
1 parent 10c2ff7 commit b62652a2cc78b9bdbf67f6bbd62393dad646793e
Showing with 9 additions and 10 deletions.
  1. +9 −10 python/py-matplotlib/Portfile
@@ -35,25 +35,24 @@ checksums rmd160 ef28a29f84a5f85c46d2bdad75e368bc9d1a6e9d \

if {${name} ne ${subport}} {
depends_build-append \
port:pkgconfig
port:pkgconfig \
port:py${python.version}-setuptools

depends_lib-append port:freetype \
port:libpng \
port:qhull \
port:py${python.version}-cycler \
port:py${python.version}-dateutil \
port:py${python.version}-kiwisolver \
port:py${python.version}-numpy \
port:py${python.version}-parsing \
port:py${python.version}-pyobjc-cocoa \
port:py${python.version}-six \
port:py${python.version}-tornado \
port:py${python.version}-tz \
port:py${python.version}-cycler \
port:py${python.version}-kiwisolver
port:py${python.version}-tz

if {${python.version} == 27} {
depends_lib-append port:py27-functools32 \
port:py27-subprocess32 \
port:py27-backports-functools_lru_cache
if {${python.version} eq 27} {
depends_lib-append port:py27-backports-functools_lru_cache \
port:py27-subprocess32
}

patchfiles-append patch-setup.cfg.diff \
@@ -81,7 +80,7 @@ if {${name} ne ${subport}} {
}

variant webagg description "Enable WebAgg backend" {
depends_run-append port:py${python.version}-tornado
depends_lib-append port:py${python.version}-tornado
}

variant tkinter description "Enable tkAgg backend" {

0 comments on commit b62652a

Please sign in to comment.
You can’t perform that action at this time.