# -*- 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-urllib3-future
version             2.18.900
revision            0
categories-append   net devel
homepage            https://urllib3future.readthedocs.io/en/latest/
supported_archs     noarch
platforms           {darwin any}
license             MIT
maintainers         {i0ntempest @i0ntempest} openmaintainer

description         a powerful HTTP 1.1, 2, and 3 client with both sync and async interfaces
long_description    ${name} is ${description}. It brings many critical features that are missing \
                    from both the Python standard libraries and urllib3

checksums           rmd160  355bbeb057563f4c51cbb495432b68909dbd2314 \
                    sha256  601e9ee8dc4442a1531824de3ab63dc6a59446bd866373d9debbdef748430414 \
                    size    1143230

distname            urllib3_future-${version}
python.versions     313 314
python.pep517_backend \
                    hatch

if {${name} ne ${subport}} {
    conflicts       port:py${python.version}-urllib3

    # deps for urllib3_future[brotli,zstd,qh3,socks,ws]
    depends_lib-append \
                    port:py${python.version}-qh3 \
                    port:py${python.version}-jh2 \
                    port:py${python.version}-h11 \
                    port:py${python.version}-brotli \
                    port:py${python.version}-zstd \
                    port:py${python.version}-python-socks \
                    port:py${python.version}-wsproto
                    
}
