# -*- 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.10
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  94cf3bab17980c5ede4f770ac527c0ee58965eb0 \
                    sha256  b1fc6b45010a8d0ff9e88f9f2418c6fd408c99c211257334aff41597ebece42e \
                    size    7668832

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