# -*- 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
python.rootname     urllib3_future
version             2.24.900
revision            0
categories-append   net www devel
platforms           any
license             MIT
maintainers         nomaintainer
description         powerful HTTP 1.1, 2 and 3 client
long_description    A {*}${description} with both sync and async interfaces.
homepage            https://github.com/jawah/urllib3.future
checksums           rmd160  367a8126f474b6fdf437b6254dc9307861f755a2 \
                    sha256  05c2e9d09293ab29a154fed8f5b60644c7cdaffe4ae2587a07b1c7f00f23a7fb \
                    size    1370419
supported_archs     noarch

python.versions         310 311 312 313 314

python.pep517_backend   hatch

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

    depends_lib-append \
                    port:py${python.version}-brotli \
                    port:py${python.version}-h11 \
                    port:py${python.version}-jh2 \
                    port:py${python.version}-socks \
                    port:py${python.version}-wsproto \
                    port:py${python.version}-pyzstd
}
