Date: Fri, 3 Jun 2022 17:02:01 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 5f2653c25f54 - main - devel/py-pyperf: Convert to USE_PYTHON=unittest Message-ID: <202206031702.253H21B1050675@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202206031702.253H21B1050675>