Files

50 lines
1.6 KiB
Tcl

# -*- 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-asyncio
version 1.4.0
revision 0
categories-append devel
supported_archs noarch
platforms {darwin any}
license Apache-2
maintainers {@jandemter demter.de:jan} openmaintainer
homepage https://pytest-asyncio.readthedocs.io/
description pytest support for asyncio
long_description \
asyncio code is usually written in the form of coroutines, which makes it \
slightly more difficult to test using normal testing tools. pytest-asyncio \
provides useful fixtures and markers to make testing easier.
distname pytest_asyncio-${version}
checksums rmd160 6eb3e945f07efb9e82b25819f6c6d229a1bb07bf \
sha256 c6c0d2259945122819f171a32ecea2c349ead889ee28176caaf492143424be42 \
size 58514
python.versions 310 311 312 313 314
if {${name} ne ${subport}} {
depends_build-append port:py${python.version}-setuptools_scm
depends_lib-append port:py${python.version}-pytest
if {${python.version} < 311} {
depends_lib-append port:py${python.version}-backports.asyncio.runner
}
if {${python.version} < 313} {
depends_lib-append port:py${python.version}-typing_extensions
}
depends_test-append port:py${python.version}-hypothesis
test.run yes
test.env-append PYTHONPATH=${worksrcpath}
}