# -*- 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-benchmark
version             5.2.3
distname            pytest_benchmark-${version}
revision            0

license             BSD
maintainers         nomaintainer

description         A pytest fixture for benchmarking code.
long_description    {*}${description} It will group the tests into \
                    rounds that are calibrated to the chosen timer.

homepage            https://github.com/ionelmc/pytest-benchmark

checksums           rmd160  38ff6347ef8da812fac60a86058d5bc223282dfe \
                    sha256  deb7317998a23c650fd4ff76e1230066a76cb45dcece0aca5607143c619e7779 \
                    size    341340

supported_archs     noarch
platforms           {darwin any}

python.versions     310 311 312 313 314

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

    test.run        yes
}
