# -*- 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-async-timeout
version             3.0.1
categories-append   devel
platforms           darwin
license             Apache-2

python.versions     35 36 37 38

maintainers         {ipglider.org:miguel @ipglider} openmaintainer

description         asyncio-compatible timeout context manager.
long_description    asyncio-compatible is useful in cases when you want to \
                    apply timeout logic around block of code or in cases when \
                    asyncio.wait_for() is not suitable. Also it's much faster \
                    than asyncio.wait_for() because timeout doesn't create a \
                    new task.

homepage            https://github.com/aio-libs/async-timeout
master_sites        pypi:a/async-timeout

distname            async-timeout-${version}

checksums           rmd160  6dc15c02bc3565772a71ebcdbccc368e6c3db87b \
                    sha256  0c3c816a028d47f659d6ff5c745cb2acf1f966da1fe5c19c77a70282b25f4c5f \
                    size    9724

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

    livecheck.type          none
} else {
    livecheck.type          pypi
}