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

python.versions     27 35 36 37 38 39

maintainers         {stromnov @stromnov} openmaintainer

description         Interactive HTML widgets for Jupyter notebooks.
long_description    ${description}

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

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

checksums           rmd160  ff1f522aa8c8621712764051da158c18ec57f476 \
                    sha256  079f87d87270bce047512400efd70238820751a11d2d8cb137a5a5bdbaf255c7 \
                    size    1112877

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

    if {${python.version} in {27 35}} {
        version             3.5.0
        revision            0
        distname            ${python.rootname}-${version}
        checksums           rmd160  560655afc55e59374278fd80a419fc6925d06018 \
                            sha256  8c9b4d73e388f2484296be18432d3cc0b8d59de243079a0db16a56c5571e1f86 \
                            size    1112789
    }

    livecheck.type      none
}
