# -*- 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.0
categories-append   devel
platforms           darwin
license             Apache-2

python.versions     35 36 37

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  8948ebeadcc3a5206c04cf8642e9a539c734e766 \
                    sha256  b3c0ddc416736619bd4a95ca31de8da6920c3b9a140c64dbef2b2fa7bf521287 \
                    size    10803

if {${name} ne ${subport}} {
    depends_build       port:py${python.version}-setuptools
} else {
    livecheck.type      pypi
}