# -*- 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.0.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  ac66c86785370dfa894d27914167851c31c91f73 \
                    sha256  2f774a669fbe2ece977d302786f01f9b0c5df7d0204ea0fa371ecb08288d6b86 \
                    size    55796

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
}
