From 7aab6d01d3def30899246efae91460e8c05fc4bc Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Sat, 14 May 2022 11:32:52 -0400 Subject: [PATCH] python3-pytest-asyncio: update to 0.18.3. --- srcpkgs/python3-pytest-asyncio/template | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/srcpkgs/python3-pytest-asyncio/template b/srcpkgs/python3-pytest-asyncio/template index 8c1dbdaf20c..850b48bc683 100644 --- a/srcpkgs/python3-pytest-asyncio/template +++ b/srcpkgs/python3-pytest-asyncio/template @@ -1,14 +1,23 @@ # Template file for 'python3-pytest-asyncio' pkgname=python3-pytest-asyncio -version=0.14.0 -revision=2 +version=0.18.3 +revision=1 wrksrc="pytest-asyncio-${version}" build_style=python3-module -hostmakedepends="python3-setuptools" +hostmakedepends="python3-setuptools_scm" depends="python3-pytest" +checkdepends="$depends python3-hypothesis" short_desc="Pytest support for asyncio" maintainer="Orphaned " license="Apache-2.0" homepage="https://github.com/pytest-dev/pytest-asyncio" distfiles="${PYPI_SITE}/p/pytest-asyncio/pytest-asyncio-${version}.tar.gz" -checksum=9882c0c6b24429449f5f969a5158b528f39bde47dc32e85b9f0403965017e700 +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})" +}