# -*- 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-pytest-rerunfailures
version             14.0
revision            0
categories-append   devel
license             MPL-2
supported_archs     noarch
platforms           {darwin any}

python.versions     39 310 311 312

maintainers         nomaintainer
description         ${name} is a pytest plugin that re-runs failed tests
long_description    {*}${description} up to -n times to eliminate flakey failures.

homepage            https://github.com/pytest-dev/pytest-rerunfailures

checksums           rmd160  c6ef00f2b9f732bb853b20a95f07803dd3dc83ba \
                    sha256  4a400bcbcd3c7a4ad151ab8afac123d90eca3abe27f98725dc4d9702887d2e92 \
                    size    21350

if {${name} ne ${subport}} {
    depends_lib-append \
                    port:py${python.version}-packaging \
                    port:py${python.version}-pytest
}
