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

python.versions     39 310 311 312 313

maintainers         {stromnov @stromnov} openmaintainer

description         Multi-Language Server WebSocket proxy for Jupyter Notebook/Lab server.
long_description    {*}${description}

homepage            https://github.com/jupyter-lsp/jupyterlab-lsp

checksums           rmd160  e01496f77167864a1b2e58fe35644b93db08e838 \
                    sha256  5e50033149344065348e688608f3c6d654ef06d9856b67655bd7b6bac9ee2d59 \
                    size    48663

if {${name} ne ${subport}} {
    depends_lib-append  port:py${python.version}-jupyter_server

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