# -*- 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-aiohttp
version             3.11.11
categories-append   devel
license             Apache-2

python.versions     39 310 311 312 313

maintainers         {ipglider.org:miguel @ipglider} openmaintainer

description         Async http client/server framework
long_description    aiohttp key futures are the support for both client and \
                    server side of HTTP protocol, support for both client and \
                    server Web-Sockets out-of-the-box without the Callback Hell \
                    and Web-server's middlewares and pluggable routing.

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

checksums           rmd160  0215514e01393e9b482704f7a963d69cd86a2a83 \
                    sha256  bb49c7f1e6ebf3821a42d81d494f538107610c3a705987f53068546b0e90303e \
                    size    7669618

if {${name} ne ${subport}} {
    depends_lib-append      port:py${python.version}-aiodns \
                            port:py${python.version}-aiohappyeyeballs \
                            port:py${python.version}-aiosignal \
                            port:py${python.version}-attrs \
                            port:py${python.version}-brotli \
                            port:py${python.version}-frozenlist \
                            port:py${python.version}-multidict \
                            port:py${python.version}-propcache \
                            port:py${python.version}-yarl

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