# -*- 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             16.1
revision            0

categories-append   devel
license             MPL-2
supported_archs     noarch
platforms           {darwin any}

python.versions     310 311 312 313 314

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

distname            pytest_rerunfailures-${version}

checksums           rmd160  51549fdea4059c024e4c09b0104f5eb2a7cb1aad \
                    sha256  c38b266db8a808953ebd71ac25c381cb1981a78ff9340a14bcb9f1b9bff1899e \
                    size    30889

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