# -*- 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.22.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  cea3fa8412ea3faf1f2e29867ff4a7210a146f77 \
                    sha256  3161900c00cf41db90dd3d938c1d14960faab475dd6ca0bf5ecd06112327c714 \
                    size    1303302

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

if {${name} ne ${subport}} {
    conflicts       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
                    
}
