mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-06 15:13:51 +02:00
python3-pytest-asyncio: update to 0.21.0.
This commit is contained in:
parent
1e83edc568
commit
0785a5e1d2
1 changed files with 12 additions and 11 deletions
|
@ -1,22 +1,23 @@
|
||||||
# Template file for 'python3-pytest-asyncio'
|
# Template file for 'python3-pytest-asyncio'
|
||||||
pkgname=python3-pytest-asyncio
|
pkgname=python3-pytest-asyncio
|
||||||
version=0.20.3
|
version=0.21.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=python3-pep517
|
build_style=python3-pep517
|
||||||
hostmakedepends="python3-setuptools_scm python3-wheel"
|
hostmakedepends="python3-setuptools_scm python3-wheel"
|
||||||
depends="python3-pytest"
|
depends="python3-pytest"
|
||||||
checkdepends="$depends python3-hypothesis"
|
checkdepends="$depends python3-flaky python3-hypothesis python3-pytest-trio"
|
||||||
short_desc="Pytest support for asyncio"
|
short_desc="Pytest plugin for asyncio"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
homepage="https://github.com/pytest-dev/pytest-asyncio"
|
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"
|
distfiles="${PYPI_SITE}/p/pytest-asyncio/pytest-asyncio-${version}.tar.gz"
|
||||||
checksum=83cbf01169ce3e8eb71c6c278ccb0574d1a7a3bb8eaaf5e50e0ad342afb33b36
|
checksum=2b38a496aef56f56b0e87557ec313e11e1ab9276fc3863f6a7be0f1d0e415e1b
|
||||||
|
|
||||||
do_check() {
|
if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
|
||||||
local skiptests="test_auto_mode_cmdline or \
|
# these tests fail on CI (bind to a tcp address)
|
||||||
test_strict_mode_ignores_trio_fixtures or \
|
make_check_args="
|
||||||
test_unused_port_fixture or test_unused_port_factory_fixture"
|
--deselect=tests/test_simple.py::test_unused_port_fixture
|
||||||
|
--deselect=tests/test_simple.py::test_unused_port_factory_fixture
|
||||||
PYTHONPATH="$(cd build/lib* && pwd)" python3 -m pytest -k "not (${skiptests})"
|
"
|
||||||
}
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue