# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
set _n [string index ${_name} 0]
categories-append graphics www
maintainers {petr @petrrr} openmaintainer
description MPLD3 offer an interactive, D3-based viewer for Matplotlib
The MPLD3 packages is an interactive D3js-based viewer which brings \
matplotlib graphics to the browser. It provides a custom stand-alone \
javascript library built on D3, which parses JSON representations of \
plots. a set of routines parses matplotlib plots and outputs the JSON \
description readable by mpld3.js.
homepage http://mpld3.github.io/index.html
distname ${_name}-${version}
master_sites pypi:${_n}/${_name}/
checksums md5 088251ed3182b2932268f9986cdc2778 \
rmd160 5b8da7efdc7c19cc7698f15f9a46897a384a3c03 \
sha256 4d455884a211bf99b37ecc760759435c7bb6a5955de47d8daf4967e301878ab7
python.versions 27 34 35 36 37
if {${name} ne ${subport}} {
depends_build-append port:py${python.version}-setuptools
depends_lib-append port:py${python.version}-jinja2 \
port:py${python.version}-matplotlib
livecheck.url https://pypi.python.org/pypi/${_name}/json
livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\""