# -*- 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
version             1.26.4
revision            0
categories-append   devel net
platforms           darwin
license             MIT

python.versions     27 35 36 37 38 39

maintainers         {stromnov @stromnov} openmaintainer

description         HTTP library with thread-safe connection pooling, file post, and more.
long_description    ${description}

homepage            https://urllib3.readthedocs.io/

checksums           rmd160  4cf2cb6ab15f0de11c8184b66d3af09b5f22f831 \
                    sha256  e7b021f7241115872f92f43c6508082facffbd1c048e3c6e2bb9c2a157e28937 \
                    size    293008

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

    livecheck.type      none
}
