# -*- 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-asv
version             0.6.4
revision            1

categories-append   devel
license             BSD
maintainers         {reneeotten @reneeotten} openmaintainer

description         Airspeed Velocity: A simple Python history benchmarking tool
long_description    {*}${description}

homepage            https://github.com/airspeed-velocity/asv

checksums           rmd160  9d3bae0508b2fedda38b48d89aa8cee4482573cc \
                    sha256  1d124184171cfe106e3e57ac04e3221b8d4571c9bd6ca2c6498a8c7407339df1 \
                    size    389611

python.versions     39 310 311 312 313

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-setuptools_scm

    depends_lib-append \
                    port:py${python.version}-asv-runner \
                    port:py${python.version}-json5 \
                    port:py${python.version}-tabulate \
                    port:py${python.version}-virtualenv

    if {${python.version} < 311} {
        depends_lib-append \
                    port:py${python.version}-tomli
    }
}
