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

python.versions     27 34 35 36

maintainers         stromnov openmaintainer

description         IPython HTML widgets for Jupyter.
long_description    ${description}

homepage            http://ipython.org
master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}

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

checksums           rmd160  0d5952fd929ab780c8afa5810bdd92d0fda26862 \
                    sha256  ab9869cda5af7ba449d8f707b29b7e97a7db97d6366805d6b733338f51096f54

if {${name} ne ${subport}} {
    depends_lib-append  port:py${python.version}-ipython \
                        port:py${python.version}-ipykernel \
                        port:py${python.version}-traitlets \
                        port:py${python.version}-widgetsnbextension

    livecheck.type      none
}