# -*- 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-httpx-aiohttp
python.rootname     httpx_aiohttp
version             0.1.12
revision            0

license             BSD
maintainers         {mps @Schamschula} openmaintainer
description         Provides transports for httpx to work on top of aiohttp
long_description    {*}${description}, handling all high-level features like \
                    authentication, retries, and cookies through httpx, while \
                    delegating low-level socket-level HTTP messaging to aiohttp.
homepage            https://karpetrosyan.github.io/httpx-aiohttp/

checksums           rmd160  6edce6020a78a9252799fd0c4bd8f5330cb42365 \
                    sha256  81feec51fd82c0ecfa0e9aaf1b1a6c2591260d5e2bcbeb7eb0277a78e610df2c \
                    size    275945

python.versions     310 311 312 313 314

python.pep517_backend \
                    hatch

if {${name} ne ${subport}} {
    depends_build-append  \
                    port:py${python.version}-hatch-fancy-pypi-readme

    depends_lib-append  \
                    port:py${python.version}-aiohttp \
                    port:py${python.version}-httpx
}
