# -*- 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-lsprotocol
version             2023.0.1
revision            0

supported_archs     noarch
platforms           {darwin any}
license             MIT
maintainers         {judaew @judaew} openmaintainer

description         Python implementation of the Language Server Protocol.
long_description    {*}${description}
homepage            https://github.com/microsoft/lsprotocol

checksums           rmd160  f5338db9c41d0a8bc1a3e3328d00b83393998743 \
                    sha256  cc5c15130d2403c18b734304339e51242d3018a05c4f7d0f198ad6e0cd21861d \
                    size    69434

python.versions     39 310 311 312
python.pep517       yes
python.pep517_backend flit

if {${name} ne ${subport}} {
    livecheck.type      none

    depends_lib-append  port:py${python.version}-attrs \
                        port:py${python.version}-cattrs \
                        port:py${python.version}-exceptiongroup \
                        port:py${python.version}-typing_extensions
}
