devel/py-pyperf: Convert to USE_PYTHON=unittest
This commit is contained in:
parent
facd9afa42
commit
5f2653c25f
1 changed files with 3 additions and 6 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue