git: 850d203ab9df - main - devel/py-atomiclong: switch to USES=pytest, silence stripping

From: Dmitry Marakasov <amdmi3_at_FreeBSD.org>
Date: Wed, 20 Apr 2022 12:33:12 UTC
The branch main has been updated by amdmi3:

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

commit 850d203ab9dfbe2d123146d69ba11817a6cbda47
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2022-04-20 12:23:02 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2022-04-20 12:32:15 +0000

    devel/py-atomiclong: switch to USES=pytest, silence stripping
---
 devel/py-atomiclong/Makefile | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/devel/py-atomiclong/Makefile b/devel/py-atomiclong/Makefile
index a9bb7c5da2f6..1c77fafc3014 100644
--- a/devel/py-atomiclong/Makefile
+++ b/devel/py-atomiclong/Makefile
@@ -12,18 +12,14 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cffi>0:devel/py-cffi@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
 
-USES=		python:3.6+
+USES=		python:3.6+ pytest
 USE_PYTHON=	autoplist distutils
 
 post-patch:
 	@${REINPLACE_CMD} '/setup_requires/d' ${WRKSRC}/${PYSETUP}
 
 post-install:
-	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_cffi__*.so
-
-do-test:
-	@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest)
+	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_cffi__*.so
 
 .include <bsd.port.mk>