summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2022-03-31 21:48:45 +0000
committerwiz <wiz@pkgsrc.org>2022-03-31 21:48:45 +0000
commit143757c5153daa29273ac512c36a232d0326a248 (patch)
treeab519a10c4652060e9333dccbc70eb697a623087 /devel
parentfdb2b13a350ed400c1d732a0b0f3964cf7eb828f (diff)
downloadpkgsrc-143757c5153daa29273ac512c36a232d0326a248.tar.gz
py-test-asyncio: add new test dependency
Diffstat (limited to 'devel')
-rw-r--r--devel/py-test-asyncio/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/devel/py-test-asyncio/Makefile b/devel/py-test-asyncio/Makefile
index a504c1fd3bf..bb3dcb4d2a8 100644
--- a/devel/py-test-asyncio/Makefile
+++ b/devel/py-test-asyncio/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2022/03/31 10:42:16 adam Exp $
+# $NetBSD: Makefile,v 1.17 2022/03/31 21:48:45 wiz Exp $
DISTNAME= pytest-asyncio-0.18.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
@@ -16,16 +16,20 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-coverage>=5.2:../../devel/py-coverage
TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=5.7.1:../../devel/py-hypothesis
TEST_DEPENDS+= ${PYPKGPREFIX}-flaky>=3.5.0:../../devel/py-flaky
TEST_DEPENDS+= ${PYPKGPREFIX}-mypy>=0.931:../../lang/py-mypy
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-trio-[0-9]*:../../devel/py-test-trio
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
+
.include "../../lang/python/pyversion.mk"
+
.if ${_PYTHON_VERSION} < 38
DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=3.7.2:../../devel/py-typing-extensions
.endif
-# package needs to be installed before testing
+# package needs to be installed before testing, next line is not enough
+#TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}