categories-append graphics math
maintainers ram openmaintainer
description matlab-like syntax for creating plots in python
long_description Matplotlib is a pure python plotting library with the \
goal of making publication quality plots using a syntax \
familiar to matlab users. The library uses numpy for \
handling large data sets and supports a variety of \
output backends. This port provides variants for the \
different GUIs (gtk2, tkinter, wxpython).
homepage http://matplotlib.sourceforge.net
master_sites sourceforge:matplotlib
distname matplotlib-${version}
checksums md5 57a627f30b3b27821f808659889514c2 \
sha1 435b4f04a7e099b79f66451d69ad0b5ce66030ae \
rmd160 9313fc6407271c46f3ac5af4c53df5ea57982711
python.versions 24 25 26 27
if {${subport} == "py24-matplotlib"} {
depends_lib-append port:py-dateutil \
} elseif {${subport} != ${name}} {
depends_lib-append port:py${python.version}-dateutil \
port:py${python.version}-tz \
port:py${python.version}-numpy \
port:py${python.version}-configobj \
port:py${python.version}-pyobjc-cocoa
depends_lib-append port:freetype \
patchfiles patch-setupext.py.diff \
patch-disable_optional_deps.diff
if {${configure.compiler} == "clang"} {
configure.compiler llvm-gcc-4.2
build.env MPLIB_BASE="${prefix}" PKG_CONFIG_PATH="${python.prefix}/lib/pkgconfig/"
reinplace "s|@@MPORTS_PREFIX@@|${prefix}|" ${worksrcpath}/setupext.py
reinplace "s|@@PYTHON_BRANCH@@|${prefix}|" ${worksrcpath}/setupext.py