# -*- 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-httpcore
version             1.0.9
revision            0
maintainers         nomaintainer

description         A minimal low level HTTP client.
long_description    {*}${description}
supported_archs     noarch
homepage            https://github.com/encode/httpcore

platforms           {darwin any}
license             BSD

checksums           rmd160  e345e0c79b53d1d00cd82fce1f60cff260525fe1 \
                    sha256  6e34463af53fd2ab5d807f399a9b45ea31c3dfa2276f15a2c3f00afff6e176e8 \
                    size    85484

python.versions     39 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}-anyio \
                    port:py${python.version}-certifi \
                    port:py${python.version}-h11 \
                    port:py${python.version}-h2 \
                    port:py${python.version}-socksio \
                    port:py${python.version}-sniffio
}
