# -*- 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-requests-doh
python.rootname     requests_doh
version             1.0.0
revision            0
categories-append   www
platforms           any
license             MIT
maintainers         nomaintainer
description         DNS over HTTPS resolver for Python requests
long_description    {*}${description}
homepage            https://requests-doh.mansuf.link
checksums           rmd160  23650600fed2d5a4a8af87c89e08a271b745ee08 \
                    sha256  6ce8bc96245030a198ef20d2100b4dcb3b120a05a58df703f8be121a79f8f2fb \
                    size    13126
supported_archs     noarch

python.versions     310 311 312 313

if {${subport} ne ${name}} {
    depends_run-append \
                    port:py${python.version}-dnspython \
                    port:py${python.version}-httpx \
                    port:py${python.version}-requests \
                    port:py${python.version}-socks
}
