# -*- 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.9.1
revision            0

license             BSD
supported_archs     noarch
platforms           {darwin any}

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

maintainers         {stromnov @stromnov} openmaintainer

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

homepage            https://jupyter.org

checksums           rmd160  5d1068da8c5aeb7b4bf6cb5d70469628be4b6a2a \
                    sha256  a58f730dd9e728ba16ba1d62ebccf7ffe1ebbdbce4e95cfae941b7321ae1f4fa \
                    size    359256

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} <= 312} {
        depends_lib-append  \
                    port:py${python.version}-typing_extensions
    }
}
