23 lines
816 B
Bash
23 lines
816 B
Bash
# Template file for 'python3-pytest-asyncio'
|
|
pkgname=python3-pytest-asyncio
|
|
version=0.19.0
|
|
revision=1
|
|
build_style=python3-pep517
|
|
hostmakedepends="python3-setuptools_scm python3-wheel"
|
|
depends="python3-pytest"
|
|
checkdepends="$depends python3-hypothesis"
|
|
short_desc="Pytest support for asyncio"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="Apache-2.0"
|
|
homepage="https://github.com/pytest-dev/pytest-asyncio"
|
|
distfiles="${PYPI_SITE}/p/pytest-asyncio/pytest-asyncio-${version}.tar.gz"
|
|
checksum=ac4ebf3b6207259750bc32f4c1d8fcd7e79739edbc67ad0c58dd150b1d072fed
|
|
|
|
do_check() {
|
|
local skiptests="test_auto_mode_cmdline or \
|
|
test_strict_mode_ignores_trio_fixtures or \
|
|
test_unused_port_fixture or test_unused_port_factory_fixture"
|
|
|
|
PYTHONPATH="$(cd build/lib* && pwd)" python3 -m pytest -k "not (${skiptests})"
|
|
}
|