# -*- 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-uvicorn
version             0.13.4
platforms           darwin
license             BSD
maintainers         nomaintainer

description         The lightning fast ASGI server.
long_description    {*}${description}

homepage            https://github.com/encode/uvicorn

checksums           rmd160  ef23978f34c4ca4d981c597bf0fa30151b9e5fd8 \
                    sha256  3292251b3c7978e8e4a7868f4baf7f7f7bb7e40c759ecc125c37e99cdea34202 \
                    size    32426

python.versions     38 39

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-setuptools

    depends_lib-append \
                    port:py${python.version}-click      \
                    port:py${python.version}-h11
}
