pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-test-asyncio py-test-asyncio: add new test de...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8ab2baf383a3
branches:  trunk
changeset: 376028:8ab2baf383a3
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Mar 31 21:48:45 2022 +0000

description:
py-test-asyncio: add new test dependency

diffstat:

 devel/py-test-asyncio/Makefile |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (31 lines):

diff -r 071e00dc987d -r 8ab2baf383a3 devel/py-test-asyncio/Makefile
--- a/devel/py-test-asyncio/Makefile    Thu Mar 31 21:48:22 2022 +0000
+++ b/devel/py-test-asyncio/Makefile    Thu Mar 31 21:48:45 2022 +0000
@@ -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}-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