# -*- 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-aiojobs
version             1.4.0
license             Apache-2
supported_archs     noarch
platforms           {darwin any}
maintainers         {toby @tobypeterson} openmaintainer
description         Jobs scheduler for managing background task
long_description    Jobs scheduler for managing background task (asyncio). The \
                    library gives controlled way for scheduling background tasks \
                    for asyncio applications.

homepage            https://github.com/aio-libs/aiojobs

checksums           rmd160  9c534f539a38bfa9539f2dc684d8aa44ab7eb54b \
                    sha256  463665c75d1fcc46c78d44375c1034abf5e3f087894b0fc5ec4dd16ef90fdc98 \
                    size    139598

python.versions     310 311 312 313

if {${name} ne ${subport}} {
    depends_lib-append      port:py${python.version}-aiohttp

    if {${python.version} < 311} {
        depends_lib-append  port:py${python.version}-async-timeout
    }
}
