# -*- 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-safehttpx
version             0.1.7
revision            0

categories-append   net
platforms           {darwin any}
supported_archs     noarch
license             MIT
maintainers         {pguyot @pguyot} openmaintainer

description         Safe HTTP client wrapper for httpx

long_description    safehttpx provides a safe HTTP client that prevents \
                    SSRF attacks by validating URLs before making requests.

homepage            https://github.com/gradio-app/safehttpx

checksums           rmd160  e42d5fa028730e257ebcb20bfca9e4f8ef56fea8 \
                    sha256  db201c0978c41eddb8bb480f3eee59dd67304fdd91646035e9d9a720049a9d23 \
                    size    10385

python.versions     313 314

python.pep517_backend   hatch

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