# -*- 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-trio
version             0.8.0
revision            0

categories-append   devel
supported_archs     noarch
platforms           {darwin any}
license             MIT
maintainers         {mps @Schamschula} openmaintainer

description         Pytest plugin for trio
long_description    {*}${description}

homepage            https://github.com/python-trio/pytest-trio

checksums           rmd160  a73ef719fc38c1ffff086ea8188d55b375a1d560 \
                    sha256  8363db6336a79e6c53375a2123a41ddbeccc4aa93f93788651641789a56fb52e \
                    size    46525

python.versions     39 310 311 312 313 314

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

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

    test.run        yes
    test.args       --pyargs pytest_trio
}
