24 lines
837 B
Bash
24 lines
837 B
Bash
# Template file for 'python3-pytest-asyncio'
|
|
pkgname=python3-pytest-asyncio
|
|
version=0.18.3
|
|
revision=1
|
|
wrksrc="pytest-asyncio-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools_scm"
|
|
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=7659bdb0a9eb9c6e3ef992eef11a2b3e69697800ad02fb06374a210d85b29f91
|
|
|
|
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})"
|
|
}
|