git: f17b9d53ea4f - main - www/py-cookies: Convert to USE_PYTHON=pytest

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

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

commit f17b9d53ea4f36fa5e0f92d3b8cf5eb8a274598f
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-09 10:59:39 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-09 10:59:39 +0000

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

diff --git a/www/py-cookies/Makefile b/www/py-cookies/Makefile
index e9e5dc18d932..a30938a29e55 100644
--- a/www/py-cookies/Makefile
+++ b/www/py-cookies/Makefile
@@ -11,14 +11,9 @@ COMMENT=	Friendlier RFC 6265-compliant cookie parser/renderer
 
 LICENSE=	MIT
 
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0: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>