# -*- 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-asgiref
version             3.11.0
revision            0

platforms           {darwin any}
supported_archs     noarch
license             BSD
maintainers         nomaintainer

description         ASGI specification and utilities
long_description    {*}${description}

homepage            https://asgi.readthedocs.io

checksums           rmd160  d898c3c14508f3e751b509f674780ebffa93effc \
                    sha256  13acff32519542a1736223fb79a715acdebe24286d98e8b164a73085f40da2c4 \
                    size    37969

python.versions     310 311 312 313

if {${subport} ne ${name}} {
    if {${python.version} < 311} {
        depends_lib-append \
                    port:py${python.version}-typing_extensions
    }

    test.run        yes
    depends_test-append \
                    port:py${python.version}-pytest-asyncio \
                    port:py${python.version}-mypy
}
