aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-06-09 23:10:50 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-06-09 23:16:06 +0000
commit92e8c1273f49ac256ead5fade3388af9f7d1089d (patch)
treecbfc5a29400a5a4c8d89f8afd961589a73272c35
parent256c3c44e415f611c72a1c1896306e83a3de1dfd (diff)
downloadports-92e8c1273f49ac256ead5fade3388af9f7d1089d.tar.gz
ports-92e8c1273f49ac256ead5fade3388af9f7d1089d.zip
devel/py-pytest-benchmark: Convert to USE_PYTHON=pytest
- Add TEST_DEPENDS
-rw-r--r--devel/py-pytest-benchmark/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/devel/py-pytest-benchmark/Makefile b/devel/py-pytest-benchmark/Makefile
index 724a6a5fa757..ba0a9e1e0927 100644
--- a/devel/py-pytest-benchmark/Makefile
+++ b/devel/py-pytest-benchmark/Makefile
@@ -14,10 +14,13 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}py-cpuinfo>=0:sysutils/py-py-cpuinfo@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest>=3.8:devel/py-pytest@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}elasticsearch>=0:textproc/py-elasticsearch@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytest-xdist>=0:devel/py-pytest-xdist@${PY_FLAVOR}
USES= python:3.6+
-USE_PYTHON= autoplist concurrent distutils
+USE_PYTHON= autoplist concurrent distutils pytest
NO_ARCH= yes
+TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR}
.include <bsd.port.mk>