pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-test-asyncio



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Mar 31 21:48:45 UTC 2022

Modified Files:
        pkgsrc/devel/py-test-asyncio: Makefile

Log Message:
py-test-asyncio: add new test dependency


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/devel/py-test-asyncio/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-test-asyncio/Makefile
diff -u pkgsrc/devel/py-test-asyncio/Makefile:1.16 pkgsrc/devel/py-test-asyncio/Makefile:1.17
--- pkgsrc/devel/py-test-asyncio/Makefile:1.16  Thu Mar 31 10:42:16 2022
+++ pkgsrc/devel/py-test-asyncio/Makefile       Thu Mar 31 21:48:45 2022
@@ -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>=
 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}
 



Home | Main Index | Thread Index | Old Index