git: bfbdff273c14 - main - science/py-jupyter_jsmol: switch to USES=pytest, fix testing

From: Dmitry Marakasov <amdmi3_at_FreeBSD.org>
Date: Tue, 26 Apr 2022 13:49:12 UTC
The branch main has been updated by amdmi3:

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

commit bfbdff273c146d024600f7966ba6989d3ef38b9e
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2022-04-26 12:35:38 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2022-04-26 13:45:58 +0000

    science/py-jupyter_jsmol: switch to USES=pytest, fix testing
    
    Reported by:    reprise
    Approved by:    portmgr blanket
---
 science/py-jupyter_jsmol/Makefile | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/science/py-jupyter_jsmol/Makefile b/science/py-jupyter_jsmol/Makefile
index a3f1f8f86339..fb106695b4f8 100644
--- a/science/py-jupyter_jsmol/Makefile
+++ b/science/py-jupyter_jsmol/Makefile
@@ -16,12 +16,11 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pygments>=0:textproc/py-pygments@${PY_FLAVOR
 		${PYTHON_PKGNAMEPREFIX}ipykernel5>=5.0.0:devel/py-ipykernel5@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}ipywidgets>0:devel/py-ipywidgets@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}ipython>=7.0.0:devel/ipython@${PY_FLAVOR}
-TEST_DEPENDS=	py.test:devel/py-pytest@${PY_FLAVOR}
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	fekad
 
-USES=		python:3.7+
+USES=		python:3.7+ pytest
 USE_PYTHON=	distutils
 PYDISTUTILS_CONFIGUREARGS=	--skip-npm
 PYDISTUTILS_BUILDARGS=		--skip-npm
@@ -39,7 +38,4 @@ post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
 
-do-test: install
-	(cd ${WRKSRC} && py.test)
-
 .include <bsd.port.mk>