# -*- 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.12.1
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  f2b7bf3c37da6f494e05a6955d1d353d4486020f \
                    sha256  59dcb51c272ad209d59bed5708a64a333083e86017d7fcdd67498eeab7784340 \
                    size    42378

python.versions     310 311 312 313 314

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
}
