# -*- 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-pyls-black
version             0.4.6
revision            0

categories-append   devel
platforms           darwin
supported_archs     noarch
license             MIT
maintainers         {reneeotten @reneeotten} openmaintainer

description         Black plugin for the Python Language Server
long_description    ${description}

homepage            https://github.com/rupert/pyls-black

checksums           rmd160  2326ae018f1f173801b6949d7317f608104fdfe8 \
                    sha256  33700e5ed605636ea7ba39188a1362d2f8602f7301f8f2b8544773886f965663 \
                    size    3010

python.versions     36 37 38 39

if {${name} ne ${subport}} {
    depends_lib-append \
                    port:py${python.version}-black \
                    port:py${python.version}-language-server \
                    port:py${python.version}-setuptools \
                    port:py${python.version}-toml

    livecheck.type  none
}
