# -*- 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 # $Id$ PortSystem 1.0 PortGroup python 1.0 set _name mpld3 set _n [string index ${_name} 0] name py-${_name} version 0.2 categories-append graphics www platforms darwin supported_archs noarch license BSD maintainers petr openmaintainer description MPLD3 offer an interactive, D3-based viewer for Matplotlib long_description \ 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 266f4e51a094f8ff1aaf7e2018f763b4 \ rmd160 cdee79e5df727a5948721f56bcfa37536877acb7 \ sha256 6388fec56a683991b8f4b7ddb8b7c8c06cddb25491a0b503eef9a028ac16fa78 python.versions 27 34 35 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.type none } else { livecheck.type regex livecheck.url https://pypi.python.org/pypi/${_name}/json livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\"" }