git: 3c8ecdf2c586 - main - devel/py-pastel: Convert to USE_PYTHON=pytest

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 09 Jun 2022 11:03:49 UTC
The branch main has been updated by sunpoet:

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

commit 3c8ecdf2c5863b1ca89898b0b5f423252a95eab9
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-09 10:58:22 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-09 10:58:22 +0000

    devel/py-pastel: Convert to USE_PYTHON=pytest
---
 devel/py-pastel/Makefile | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/devel/py-pastel/Makefile b/devel/py-pastel/Makefile
index 9331f83f8f2d..694830254cec 100644
--- a/devel/py-pastel/Makefile
+++ b/devel/py-pastel/Makefile
@@ -13,14 +13,9 @@ COMMENT=	Bring colors to your terminal
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0,1:devel/py-pytest@${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} -m pytest -rs -v
-
 .include <bsd.port.mk>