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 bd0894dd924eb5bec84c42d26041a544 \
sha1 57b5f1e3f0c8866af99f72fca06b4e529acba31d \
rmd160 2bd025944eab18d41ddf9f521c00a1f065346738
depends_lib-append port:freetype \
patchfiles patch-setupext.py.diff \
patch-disable_optional_deps.diff \
build.env MPLIB_BASE="${prefix}" PKG_CONFIG_PATH="${python.prefix}/lib/pkgconfig/"
reinplace "s|@@MPORTS_PREFIX@@|${prefix}|" ${worksrcpath}/setupext.py
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} \
${destroot}${prefix}/share/${name}
xinstall -m 644 -W ${worksrcpath} CHANGELOG INSTALL \
INTERACTIVE KNOWN_BUGS README.txt TODO \
${destroot}${prefix}/share/doc/${name}
file copy ${worksrcpath}/license \
${destroot}${prefix}/share/doc/${name}
file copy ${worksrcpath}/examples \
${destroot}${prefix}/share/${name}
ui_msg "\nThe default backend is now the non-interactive Agg backend, different
backends can be specified using the ~/.matplotlib/matplotlibrc file.