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

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

maintainers         {stromnov @stromnov} openmaintainer

description         This package is used to launch an application built using JupyterLab.
long_description    {*}${description}

homepage            https://jupyter.org/

checksums           rmd160  5e902bd9ca06b8910536de188fb1c6c5879be6cc \
                    sha256  2098198e1e82e0db982440f9b5136175d73bea2cd42a6480aa6fd502cb23c4f9 \
                    size    74772

if {${name} ne ${subport}} {
    depends_lib-append  port:py${python.version}-babel \
                        port:py${python.version}-jinja2 \
                        port:py${python.version}-json5 \
                        port:py${python.version}-jsonschema \
                        port:py${python.version}-jupyter_server \
                        port:py${python.version}-packaging \
                        port:py${python.version}-requests

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