# -*- 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
version             0.17.1
revision            0
platforms           darwin
license             BSD
maintainers         nomaintainer

description         The next generation HTTP client.
long_description    {*}${description}

homepage            https://github.com/encode/httpx

checksums           rmd160  ff3153d694d90ea60a358ee82f179a35d229979a \
                    sha256  cc2a55188e4b25272d2bcd46379d300f632045de4377682aa98a8a6069d55967 \
                    size    86489

python.versions     37 38 39

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-setuptools

    depends_lib-append \
                    port:py${python.version}-certifi  \
                    port:py${python.version}-sniffio  \
                    port:py${python.version}-rfc3986  \
                    port:py${python.version}-httpcore

    livecheck.type  none
}
