# -*- 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.18
revision            0
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  dacd1dc6021113babb01cf742e66fe8bccaa8ae1 \
                    sha256  ae856e1138612b7e412db63b7708735cff4d38d0399f6a5435d3dac2669f558a \
                    size    7678653

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
    }
}
