svn commit: r564282 - head/devel/py-yaspin

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sat Feb 6 20:46:36 UTC 2021


Author: sunpoet
Date: Sat Feb  6 20:46:30 2021
New Revision: 564282
URL: https://svnweb.freebsd.org/changeset/ports/564282

Log:
  Convert to test framework

Modified:
  head/devel/py-yaspin/Makefile

Modified: head/devel/py-yaspin/Makefile
==============================================================================
--- head/devel/py-yaspin/Makefile	Sat Feb  6 20:46:24 2021	(r564281)
+++ head/devel/py-yaspin/Makefile	Sat Feb  6 20:46:30 2021	(r564282)
@@ -13,9 +13,14 @@ COMMENT=	Yet Another Terminal Spinner
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
+
 USES=		python:3.6+
 USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
+
+do-test:
+	cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list