Move testing from py-nose to MODPY_PYTEST

This commit is contained in:
kmos 2019-11-08 18:05:58 +00:00
parent 97cbe7d28e
commit 476d9f3f02

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.5 2019/07/12 20:47:46 sthen Exp $
# $OpenBSD: Makefile,v 1.6 2019/11/08 18:05:58 kmos Exp $
COMMENT = Python package for describing statistical models
@ -17,6 +17,8 @@ MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
MODPY_PYTEST = Yes
MODPY_PYTEST_ARGS = patsy
RUN_DEPENDS = devel/py-six${MODPY_FLAVOR} \
math/py-numpy${MODPY_FLAVOR}
@ -26,7 +28,4 @@ TEST_DEPENDS = devel/py-nose${MODPY_FLAVOR} \
FLAVORS = python3
FLAVOR ?=
do-test:
cd ${WRKSRC} && ${LOCALBASE}/bin/nosetests${MODPY_BIN_SUFFIX} patsy
.include <bsd.port.mk>