# -*- 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.4
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  415943bfaafc53bc60a67be05e444bf6504979f9 \
                    sha256  adb31d4c263f2bd041081ab33b498309a57c77f9acf2db65aadf0898179cf93a \
                    size    49413

python.versions     310 311 312 313 314

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
}
