aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2022-04-26 14:09:59 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2022-04-27 11:42:12 +0000
commitb293e52cc6364ea9024d6f461b7b01a65dbfab53 (patch)
tree1921f68f49f10abead241a0ebb649abb2e82a442 /security
parent2c6ad754f623bc68636202835929cc159f0d65c0 (diff)
security/py-pass-git-helper: switch to USES=pytest and fix TEST_DEPENDS
Reported by: reprise Approved by: portmgr blanket
Diffstat (limited to 'security')
-rw-r--r--security/py-pass-git-helper/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/security/py-pass-git-helper/Makefile b/security/py-pass-git-helper/Makefile
index 707d8dc5c864..6c687d8128e4 100644
--- a/security/py-pass-git-helper/Makefile
+++ b/security/py-pass-git-helper/Makefile
@@ -14,15 +14,11 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xdg>0:devel/py-xdg@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
+ ${PYTHON_PKGNAMEPREFIX}pytest-mock>=0:devel/py-pytest-mock@${PY_FLAVOR}
-USES= python
+USES= python pytest
USE_GITHUB= yes
GH_ACCOUNT= languitar
USE_PYTHON= autoplist concurrent distutils
-do-test:
- @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs
-
.include <bsd.port.mk>