devel/py-pyperf: Convert to USE_PYTHON=unittest

This commit is contained in:
Po-Chuan Hsieh 2022-06-04 00:57:45 +08:00
parent facd9afa42
commit 5f2653c25f
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B

View file

@ -12,15 +12,12 @@ COMMENT= Run and analyze benchmarks
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}psutil>=0:sysutils/py-psutil@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psutil>=0:sysutils/py-psutil@${PY_FLAVOR}
USES= python:3.4+
USE_PYTHON= autoplist concurrent distutils
USE_PYTHON= autoplist concurrent distutils unittest
NO_ARCH= yes
do-test:
cd ${WRKSRC} && ${SETENV} PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} ${PYTHON_CMD} -m nose -d -v
TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR}
.include <bsd.port.mk>