git: 0c3c262cc369 - main - textproc/py-anyascii: Convert to USE_PYTHON=pytest

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

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

commit 0c3c262cc3693c40b484282f6293562cea52e9ae
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-09 23:12:07 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-09 23:16:12 +0000

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

diff --git a/textproc/py-anyascii/Makefile b/textproc/py-anyascii/Makefile
index 32c93394d04c..c85ded7d45ad 100644
--- a/textproc/py-anyascii/Makefile
+++ b/textproc/py-anyascii/Makefile
@@ -12,14 +12,9 @@ COMMENT=	Unicode to ASCII transliteration
 LICENSE=	ISCL
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
-
 USES=		python:3.3+
-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>