# -*- 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.6.3
revision            0
platforms           darwin
license             BSD
supported_archs     noarch

python.versions     27 35 36 37 38 39

maintainers         {stromnov @stromnov} openmaintainer

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

homepage            https://ipython.org

checksums           rmd160  56524fc7c87ccf74e81ed1d412562e14357bf229 \
                    sha256  9f1a43e620530f9e570e4a493677d25f08310118d315b00e25a18f12913c41f0 \
                    size    4072376

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}-nbformat \
                        port:py${python.version}-widgetsnbextension

    if {${python.version} in {27 35}} {
        version             7.5.0
        revision            0
        distname            ${python.rootname}-${version}
        checksums           rmd160  dd95fbc4280d32f34fb5a586ead9e3bb5a86fc6e \
                            sha256  cb263c6974aca902d00a435711823bb4aaf6614a5f997f517e15fa84151e8fa2 \
                            size    5657273
    }

    livecheck.type      none
}
