aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-06-09 10:58:23 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-06-09 10:58:23 +0000
commit780ef3a5d54dc77f353413998c41e0083e02571f (patch)
tree8cd69e1a80c9968a632a252102e8ab5fed18883e
parent957052abb33f98301b0158c980e71f5448977e04 (diff)
devel/py-pip-licenses: Convert to USE_PYTHON=pytest
-rw-r--r--devel/py-pip-licenses/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/devel/py-pip-licenses/Makefile b/devel/py-pip-licenses/Makefile
index 2207aab0aca7..62386bddea98 100644
--- a/devel/py-pip-licenses/Makefile
+++ b/devel/py-pip-licenses/Makefile
@@ -16,14 +16,12 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pip>=0:devel/py-pip@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}ptable>=0:devel/py-ptable@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pip>=0:devel/py-pip@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}ptable>=0:devel/py-ptable@${PY_FLAVOR}
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docutils>=0,1:textproc/py-docutils@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docutils>=0,1:textproc/py-docutils@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
USES= python:3.6+
-USE_PYTHON= autoplist concurrent distutils
+USE_PYTHON= autoplist concurrent distutils pytest
NO_ARCH= yes
-do-test:
- cd ${WRKSRC} && ${PYTHON_CMD} test_piplicenses.py
-
.include <bsd.port.mk>