# -*- 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-ephemeral-port-reserve
python.rootname     ephemeral_port_reserve
version             1.1.4
revision            0

supported_archs     noarch
platforms           {darwin any}
license             MIT
maintainers         nomaintainer

description         Bind to an ephemeral port, force it into the TIME_WAIT \
                    state, and unbind it.
long_description    {*}${description}

homepage            https://github.com/Yelp/ephemeral-port-reserve/

checksums           rmd160  937c755f80e600f052b0081f06e1c752e5807c0e \
                    sha256  b8f7da2c97090cb0801949dec1d6d40c97220505b742a70935ffbd43234c14b2 \
                    size    3541

python.versions     37 38 39 310 311 312

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