git: 5f2653c25f54 - main - devel/py-pyperf: Convert to USE_PYTHON=unittest
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 03 Jun 2022 17:02:01 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=5f2653c25f545c963880e05601c20b03ad530571 commit 5f2653c25f545c963880e05601c20b03ad530571 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-06-03 16:57:45 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-06-03 16:57:45 +0000 devel/py-pyperf: Convert to USE_PYTHON=unittest --- devel/py-pyperf/Makefile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/devel/py-pyperf/Makefile b/devel/py-pyperf/Makefile index 5d139f4df707..fc72d51e54bb 100644 --- a/devel/py-pyperf/Makefile +++ b/devel/py-pyperf/Makefile @@ -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>