git: 7d38e9a93ed0 - main - security/py-certbot: Convert to USE_PYTHON=pytest

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 21 Jun 2022 16:38:20 UTC
The branch main has been updated by sunpoet:

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

commit 7d38e9a93ed023c309cff3eeeb83730898f421fe
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-21 16:34:04 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-21 16:36:33 +0000

    security/py-certbot: Convert to USE_PYTHON=pytest
---
 security/py-certbot/Makefile | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/security/py-certbot/Makefile b/security/py-certbot/Makefile
index 1e6f4e8a1a98..e73127ef623c 100644
--- a/security/py-certbot/Makefile
+++ b/security/py-certbot/Makefile
@@ -25,10 +25,9 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}acme>=${ACME_VERSION},1:security/py-acme@${P
 		${PYTHON_PKGNAMEPREFIX}pytz>2019.3,1:devel/py-pytz@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}zope.component>0:devel/py-zope.component@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}zope.interface>0:devel/py-zope.interface@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
 
 USES=		python:3.7+
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent distutils pytest
 
 NO_ARCH=	yes
 SUB_FILES=	500.certbot pkg-message
@@ -67,8 +66,5 @@ post-install-MANPAGES-on:
 	${INSTALL_MAN} ${WRKSRC}/docs/_build/man/certbot.7 \
 		${STAGEDIR}${PREFIX}/share/man/man7
 
-do-test:
-	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
-
 .include "${.CURDIR}/../py-acme/version.mk"
 .include <bsd.port.mk>