# -*- 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-tenacity
version             9.1.2
revision            0

license             Apache-2
platforms           {darwin any}
supported_archs     noarch
maintainers         {judaew @judaew} openmaintainer

description         Retry code until it succeeds
long_description    {*}${description}

homepage            https://github.com/jd/tenacity

checksums           rmd160  6391d50bb774f54a36120445882d7040df2c7a49 \
                    sha256  1169d376c297e7de388d18b4481760d478b0e99a777cad3a9c86e556f4b697cb \
                    size    48036

python.versions     39 310 311 312 313

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

    test.run        yes

    depends_test-append port:py${python.version}-tornado \
                        port:py${python.version}-typeguard
}
