# -*- 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-jupyterlab_widgets
version             3.0.10
revision            0
categories-append   devel
license             BSD
supported_archs     noarch
platforms           {darwin any}

python.versions     310 311 312 313 314

maintainers         {stromnov @stromnov} openmaintainer

description         Jupyter interactive widgets for JupyterLab
long_description    {*}${description}

homepage            https://github.com/jupyter-widgets/ipywidgets

checksums           rmd160  d964176d7c28b798abf2ec90aa695c28e9fb98b1 \
                    sha256  04f2ac04976727e4f9d0fa91cdc2f1ab860f965e504c29dbd6a65c882c9d04c0 \
                    size    205549

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

    patchfiles-append   patch-pyproject.toml.diff
}
