Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Feb 2021 20:46:30 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r564282 - head/devel/py-yaspin
Message-ID:  <202102062046.116KkUXA020577@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102062046.116KkUXA020577>