aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-06-21 16:33:44 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-06-21 16:36:30 +0000
commitd607606308149c69c9e6e8ea329db1a57fc94ba8 (patch)
treebdc40b9ca175bf5587eb414969507bf42522a2b3
parentf5a1f3c250b509ca1380963c6a299e0a04f780bc (diff)
downloadports-d607606308149c69c9e6e8ea329db1a57fc94ba8.tar.gz
ports-d607606308149c69c9e6e8ea329db1a57fc94ba8.zip
devel/py-nbformat: Convert to USE_PYTHON=pytest
-rw-r--r--devel/py-nbformat/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/devel/py-nbformat/Makefile b/devel/py-nbformat/Makefile
index b255fd08aa5d..39d8abed4d26 100644
--- a/devel/py-nbformat/Makefile
+++ b/devel/py-nbformat/Makefile
@@ -15,16 +15,12 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fastjsonschema>=0:devel/py-fastjsonschema@${
${PYTHON_PKGNAMEPREFIX}jupyter-core>=0:devel/py-jupyter-core@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}traitlets>=5.1:devel/py-traitlets@${PY_FLAVOR}
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}testpath>=0:devel/py-testpath@${PY_FLAVOR}
USES= python:3.7+
-USE_PYTHON= autoplist concurrent distutils
+USE_PYTHON= autoplist concurrent distutils pytest
NO_ARCH= yes
-do-test:
- cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v -o addopts=
-
.include <bsd.port.mk>