# -*- 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.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  861bf23b981a020043fde3e1852d43d0c59875cc \
                    sha256  5f184dc43b7e763efe848065441eac62229c9f7b0475f41f80e207a114eda4ce \
                    size    38550

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
}
