Date: Tue, 2 May 2023 15:39:04 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: e95c5bc9d92a - main - devel/py-preshed: Fix tests Message-ID: <202305021539.342Fd4be089963@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=e95c5bc9d92a0a79e4fdeffdec2850e2e2c531b8 commit e95c5bc9d92a0a79e4fdeffdec2850e2e2c531b8 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-05-02 15:38:42 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-05-02 15:39:00 +0000 devel/py-preshed: Fix tests --- devel/py-preshed/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/devel/py-preshed/Makefile b/devel/py-preshed/Makefile index d84968a41a0d..78b61cb0cfd0 100644 --- a/devel/py-preshed/Makefile +++ b/devel/py-preshed/Makefile @@ -18,11 +18,14 @@ BUILD_DEPENDS= ${PY_DEPENDS} \ RUN_DEPENDS= ${PY_DEPENDS} USES= python:3.6+ -USE_PYTHON= pep517 cython autoplist pytest # tests fail, see https://github.com/explosion/preshed/issues/45 +USE_PYTHON= pep517 cython autoplist pytest TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/preshed/*.so +do-test: + @cd ${WRKDIR} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest --pyargs preshed + .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202305021539.342Fd4be089963>