void-packages/srcpkgs/python3-pytest-asyncio/template
2025-03-21 08:15:57 -04:00

23 lines
949 B
Bash

# Template file for 'python3-pytest-asyncio'
pkgname=python3-pytest-asyncio
version=0.25.3
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools_scm python3-wheel"
depends="python3-pytest"
checkdepends="$depends python3-hypothesis"
short_desc="Pytest plugin for asyncio"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="Apache-2.0"
homepage="https://github.com/pytest-dev/pytest-asyncio"
changelog="https://raw.githubusercontent.com/pytest-dev/pytest-asyncio/master/docs/source/reference/changelog.rst"
distfiles="${PYPI_SITE}/p/pytest-asyncio/pytest_asyncio-${version}.tar.gz"
checksum=fc1da2cf9f125ada7e710b4ddad05518d4cee187ae9412e9ac9271003497f07a
if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
# these tests fail on CI (bind to a tcp address)
make_check_args="
--deselect=tests/test_simple.py::test_unused_port_fixture
--deselect=tests/test_simple.py::test_unused_port_factory_fixture
"
fi