# -*- 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

PortSystem          1.0
PortGroup           python 1.0

name                py-mpld3
version             0.3
revision            0

categories-append   graphics www
platforms           darwin
supported_archs     noarch
license             BSD
maintainers         {petr @petrrr} 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            https://mpld3.github.io
master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}
distname            ${python.rootname}-${version}

checksums           rmd160  5b8da7efdc7c19cc7698f15f9a46897a384a3c03 \
                    sha256  4d455884a211bf99b37ecc760759435c7bb6a5955de47d8daf4967e301878ab7 \
                    size    788549

python.versions     27 35 36 37 38

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
}
