# -*- 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-pygls
version             2.1.1
revision            0

supported_archs     noarch
platforms           {darwin any}
license             Apache-2
maintainers         {judaew @judaew} openmaintainer

description         \
    Pythonic generic implementation of the Language Server Protocol
long_description    \
    pygls (pronounced like \"pie glass\") is a pythonic generic implementation \
    of the Language Server Protocol for use as a foundation for writing \
    language servers using Python (e.g. Python, XML, etc.). It allows you to \
    write your own language server in just a few lines of code.
homepage            https://github.com/openlawlibrary/pygls

checksums           rmd160  a9a394d8f3c830ec17e7c293fb7317d32ca6e110 \
                    sha256  1da03ba9053201bb337dcdd8d121df70feb2a91e1a0dcc74de5da79755b1a201 \
                    size    55091

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

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