# -*- 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-jupyter_client
version             8.6.1
revision            0

license             BSD
supported_archs     noarch
platforms           {darwin any}

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

maintainers         {stromnov @stromnov} openmaintainer

description         Jupyter protocol implementation and client libraries.
long_description    {*}${description}

homepage            https://jupyter.org

checksums           rmd160  5ace99742895515c83013902e4c431fd000f7333 \
                    sha256  e842515e2bab8e19186d89fdfea7abd15e39dd581f94e399f00e2af5a1652d3f \
                    size    340957

if {${name} ne ${subport}} {
    depends_lib-append  port:py${python.version}-jupyter_core \
                        port:py${python.version}-dateutil \
                        port:py${python.version}-zmq \
                        port:py${python.version}-tornado \
                        port:py${python.version}-traitlets

    if {${python.version} < 310} {
        depends_lib-append  port:py${python.version}-importlib-metadata
    }
}
