# -*- 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-socksio
version             1.0.0
revision            0

supported_archs     noarch
platforms           {darwin any}
license             MIT
maintainers         nomaintainer

description         Sans-I/O implementation of SOCKS4, SOCKS4A, and SOCKS5.
long_description    {*}${description}

homepage            https://github.com/sethmlarson/socksio

checksums           rmd160  fb21d64a51249d690c7b9fb409c48b0a4113739b \
                    sha256  f88beb3da5b5c38b9890469de67d0cb0f9d494b78b106ca1845f96c10b91c4ac \
                    size    19055

python.versions     39 310 311 312 313 314

python.pep517_backend \
                    flit

if {${name} ne ${subport}} {
    post-patch {
        reinplace "s|flit_core >=2,<3|flit_core >=2|g" pyproject.toml
    }
}
