git: b293e52cc636 - main - security/py-pass-git-helper: switch to USES=pytest and fix TEST_DEPENDS

From: Dmitry Marakasov <amdmi3_at_FreeBSD.org>
Date: Wed, 27 Apr 2022 11:42:21 UTC
The branch main has been updated by amdmi3:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b293e52cc6364ea9024d6f461b7b01a65dbfab53

commit b293e52cc6364ea9024d6f461b7b01a65dbfab53
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2022-04-26 14:09:59 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2022-04-27 11:42:12 +0000

    security/py-pass-git-helper: switch to USES=pytest and fix TEST_DEPENDS
    
    Reported by:    reprise
    Approved by:    portmgr blanket
---
 security/py-pass-git-helper/Makefile | 8 ++------
 1 file 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>