git: 660b856c0cd8 - main - misc/py-toil: switch to USES=pytest, add missing TEST_DEPENDS

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

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

commit 660b856c0cd8f29ee3cd4b4e3a338f406e5cf5e4
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2022-04-26 14:45:34 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2022-04-27 11:42:13 +0000

    misc/py-toil: switch to USES=pytest, add missing TEST_DEPENDS
    
    More test depends are missing and are required to fix the tests, but
    they do not seem to be available in the Ports Collection yet
    
    Reported by:    reprise
    Approved by:    portmgr blanket
---
 misc/py-toil/Makefile | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/misc/py-toil/Makefile b/misc/py-toil/Makefile
index f0e4d90a71ae..62fe30999d9f 100644
--- a/misc/py-toil/Makefile
+++ b/misc/py-toil/Makefile
@@ -18,15 +18,13 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}addict>=2.2.1:devel/py-addict@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytz>=2012:devel/py-pytz@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}requests>=2:www/py-requests@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}yaml>=5:devel/py-yaml@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}boto3>0:www/py-boto3@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}libcloud>=0.14.0:net/py-libcloud@${PY_FLAVOR}
 
-USES=		python:3.6+
+USES=		python:3.6+ pytest
 USE_PYTHON=	distutils concurrent autoplist
 
 NO_ARCH=	yes
 
-do-test:
-	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
-
 .include <bsd.port.mk>