Date: Tue, 7 Jan 2025 12:53:52 GMT From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: c361e55d7aec - main - www/py-wsaccel: Refactor Message-ID: <202501071253.507CrqoG028165@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=c361e55d7aec4a0a4758b01a931e8b5bd7ffd384 commit c361e55d7aec4a0a4758b01a931e8b5bd7ffd384 Author: Niclas <n_carlsson@outlook.com> AuthorDate: 2025-01-07 12:52:18 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2025-01-07 12:53:33 +0000 www/py-wsaccel: Refactor - Switch to PEP517 build - Add test PR: 283582 --- www/py-wsaccel/Makefile | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/www/py-wsaccel/Makefile b/www/py-wsaccel/Makefile index 213ca0ba600b..68ecb5d2032f 100644 --- a/www/py-wsaccel/Makefile +++ b/www/py-wsaccel/Makefile @@ -1,5 +1,6 @@ PORTNAME= wsaccel DISTVERSION= 0.6.7 +PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,11 +14,21 @@ LICENSE_FILE= ${WRKSRC}/LICENSE DEPRECATED= Upstream ceased development +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}cython3>=3.0.11:lang/cython3@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} + USES= python -USE_PYTHON= autoplist distutils pytest +USE_PYTHON= autoplist pep517 pytest post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/utf8validator*.so ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/xormask*.so +do-test: + @(cd ${TEST_WRKSRC} && ${SETENVI} ${WRK_ENV} ${TEST_ENV} pytest \ + -k '${_PYTEST_FILTER_EXPRESSION}' \ + -v -rs -o addopts= \ + ${PYTEST_ARGS}) + .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501071253.507CrqoG028165>