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

python.versions     310 311 312 313 314
python.pep517_backend   hatch

maintainers         {stromnov @stromnov} openmaintainer

description         Client library for programmatic Jupyter notebook execution.
long_description    {*}${description}

homepage            https://jupyter.org/

checksums           rmd160  bbf62d09b77302303bc2633205ed58a9ba3e7d01 \
                    sha256  90b7fc6b810630db87a6d0c2250b1f0ab4cf4d3c27a299b0cde78a4ed3fd9193 \
                    size    62424

if {${name} ne ${subport}} {
    depends_lib-append  port:py${python.version}-jupyter_client \
                        port:py${python.version}-jupyter_core \
                        port:py${python.version}-nbformat \
                        port:py${python.version}-traitlets
}
