summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-08-13 12:54:52 +0800
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-08-13 12:54:52 +0800
commita5e864b7da4bed2c98f7a05012faa1f3a0c6c96f (patch)
tree4891b90565d9b3f7dfb3691f4dafec6b27d47022
parentsysutils/iocage: Clean up TEST_DEPENDS after the removal of py-pytest4 and de... (diff)
textproc/py-parso: Convert to USE_PYTHON=pytest
1348 passed in 4.86s It also cleans up TEST_DEPENDS after the removal of py-pytest4. [1] Reported by: adamw [1] Approved by: portmgr (blanket) With hat: python
-rw-r--r--textproc/py-parso/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/textproc/py-parso/Makefile b/textproc/py-parso/Makefile
index 10e669684213..1caface21c51 100644
--- a/textproc/py-parso/Makefile
+++ b/textproc/py-parso/Makefile
@@ -12,16 +12,12 @@ WWW= https://github.com/davidhalter/parso
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest4<6.0.0,1:devel/py-pytest4@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}docopt>=0:devel/py-docopt@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docopt>=0:devel/py-docopt@${PY_FLAVOR}
USES= cpe python
CPE_VENDOR= ${PORTNAME}_project
-USE_PYTHON= autoplist distutils
+USE_PYTHON= autoplist distutils pytest
NO_ARCH= yes
-do-test:
- cd ${WRKSRC} && ${PYTHON_CMD} -m pytest test
-
.include <bsd.port.mk>