devel/py-pytest-asyncio: convert to USE_PYTHON=pytest

This commit is contained in:
Jan Beich 2022-06-03 23:51:30 +00:00
parent 65de78bb21
commit 5bd4c01276

View File

@ -19,7 +19,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flaky>=3.5.0:devel/py-flaky@${PY_FLAVOR} \
NO_ARCH= yes
USES= python:3.7+
USE_PYTHON= autoplist distutils
USE_PYTHON= autoplist distutils pytest
.include <bsd.port.pre.mk>
@ -27,7 +27,4 @@ USE_PYTHON= autoplist distutils
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR}
.endif
do-test:
@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest)
.include <bsd.port.post.mk>