svn commit: r480306 - head/math/py-pygslodeiv2

Yuri Victorovich yuri at FreeBSD.org
Fri Sep 21 19:40:06 UTC 2018


Author: yuri
Date: Fri Sep 21 19:40:05 2018
New Revision: 480306
URL: https://svnweb.freebsd.org/changeset/ports/480306

Log:
  math/py-pygslodeiv2: Add tests

Modified:
  head/math/py-pygslodeiv2/Makefile

Modified: head/math/py-pygslodeiv2/Makefile
==============================================================================
--- head/math/py-pygslodeiv2/Makefile	Fri Sep 21 19:30:43 2018	(r480305)
+++ head/math/py-pygslodeiv2/Makefile	Fri Sep 21 19:40:05 2018	(r480306)
@@ -15,8 +15,12 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 BUILD_DEPENDS=	${PYNUMPY}
 LIB_DEPENDS=	libgsl.so:math/gsl
 RUN_DEPENDS=	${PYNUMPY}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
 
 USES=		localbase python
 USE_PYTHON=	distutils autoplist
+
+do-test:
+	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list