# -*- 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-profiling
version             1.7.0
revision            0

platforms           {darwin any}
supported_archs     noarch
license             MIT
maintainers         nomaintainer

description         Profiling plugin for py.test
long_description    {*}${description}

homepage            https://github.com/manahl/pytest-plugins

checksums           rmd160  5fa55741f3cec21344e801ac886614a149c9703c \
                    sha256  93938f147662225d2b8bd5af89587b979652426a8a6ffd7e73ec4a23e24b7f29 \
                    size    30985

python.versions     310 311

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

    depends_lib-append \
                    port:py${python.version}-gprof2dot \
                    port:py${python.version}-pytest \
                    port:py${python.version}-six

    depends_test-append \
                    port:py${python.version}-pytest-virtualenv

    test.run        yes
}
