23 lines
816 B
Bash
23 lines
816 B
Bash
# Template file for 'python3-pytest-asyncio'
|
|
pkgname=python3-pytest-asyncio
|
|
version=0.20.3
|
|
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=83cbf01169ce3e8eb71c6c278ccb0574d1a7a3bb8eaaf5e50e0ad342afb33b36
|
|
|
|
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})"
|
|
}
|