# -*- 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-ipympl
version             0.3.3
revision            0
platforms           darwin
license             BSD
supported_archs     noarch

python.versions     27 35 36 37

maintainers         {aronnax @lpsinger} openmaintainer

description         Matplotlib Jupyter Extension
long_description    Leveraging the Jupyter interactive widgets framework, \
                    jupyter-matplotlib enables the interactive features of \
                    matplotlib in the Jupyter notebook and in Jupyterlab.

homepage            https://github.com/matplotlib/jupyter-matplotlib
master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}

distname            ${python.rootname}-${version}

checksums           rmd160  1119e3e56d190518ea0ca1f4b2ecc79f8a6964fc \
                    sha256  edf4374806d704f35334260678d2e94db5079a3d5ef75ed88b8fc2a4a080ba54 \
                    size    467977

if {${name} ne ${subport}} {
    depends_build-append \
                        port:py${python.version}-setuptools

    depends_lib-append  port:py${python.version}-ipykernel \
                        port:py${python.version}-ipywidgets \
                        port:py${python.version}-matplotlib

    livecheck.type      none
}
