# -*- 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-backports.asyncio.runner
version             1.2.0
revision            0

categories-append   devel
platforms           {darwin any}
supported_archs     noarch
license             PSF-2.0
maintainers         {reneeotten @reneeotten} openmaintainer

description         Backport of asyncio.Runner, a context manager that controls \
                    event loop life cycle.
long_description    {*}${description}

homepage            https://github.com/samypr100/backports.asyncio.runner

distname            backports_asyncio_runner-${version}

checksums           rmd160  a62a73de7cf48cca78bb01e9ebf1cdb90487c650 \
                    sha256  a5aa7b2b7d8f8bfcaa2b57313f70792df84e32a2a746f585213373f900b42162 \
                    size    69893

# do not add newer subportst, as it backports functionality from Python 3.11
python.versions     310
python.pep517_backend hatch

if {${subport} ne ${name}} {
    depends_build-append \
                    port:py${python.version}-hatch-fancy-pypi-readme
}
