# -*- 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             2025.0.0
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  b6b5a987cbb0923741db88060b5be7cb3225782a \
                    sha256  e879da2b9301e82cfc3e60d805630487ac2f7ab17492f4f5ba5aaba94fe56c29 \
                    size    74896

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

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