# -*- 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-torrequest
version             0.1.0
revision            0

license             none
maintainers         {mps @Schamschula} openmaintainer
description         A simple Python interface for HTTP(s) requests over Tor.
long_description    {*}${description}
homepage            https://github.com/erdiaker/torrequest

platforms           {darwin any}
supported_archs     noarch

checksums           rmd160  253d9b84f68989c42a4439cb9b7628dae72a9a17 \
                    sha256  3745d4ea3ffda98d7a034363c787adb37aab77bdab40094a4d937392cd4dae82 \
                    size    1527

python.versions     310 311 312 313 314

if {${name} ne ${subport}} {
    depends_lib-append  \
                    port:py${python.version}-requests \
                    port:py${python.version}-socks \
                    port:py${python.version}-stem \
                    port:tor
}
