# -*- 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.0
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  64eccd4d592a66ec35fd29a4b6e5bfa88d964f30 \
                    sha256  99accd03de1ca76fe1e7e317f0968ebccf7b9955afed6e2e3e188606a20b4f07 \
                    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
}
