# -*- 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-flaky
version             3.8.1
revision            0

platforms           {darwin any}
supported_archs     noarch
license             Apache-2
maintainers         nomaintainer

description         Plugin for nose or py.test that automatically \
                    reruns flaky tests.
long_description    {*}${description}

homepage            https://github.com/box/flaky

checksums           rmd160  5cf263b2a2b03033e7781b54998be05084382b45 \
                    sha256  47204a81ec905f3d5acfbd61daeabcada8f9d4031616d9bcb0618461729699f5 \
                    size    25248

python.versions     27 39 310 311 312 313 314

if {${name} ne ${subport}} {
    if {${python.version} == 27} {
        version     3.7.0
        revision    0

        checksums   rmd160  f3a222e088b387b4e7d11866da1bdd34ae1db5ae \
                    sha256  3ad100780721a1911f57a165809b7ea265a7863305acb66708220820caf8aa0d \
                    size    29591

        depends_build-append \
                    port:py${python.version}-setuptools
    }
}
