git: 1f6d7b612001 - main - www/py-http-parser: fix build with python3.11
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 04 Jun 2024 12:00:07 UTC
The branch main has been updated by rm: URL: https://cgit.FreeBSD.org/ports/commit/?id=1f6d7b612001bd3e07087d4821eae91436cbddc2 commit 1f6d7b612001bd3e07087d4821eae91436cbddc2 Author: Ruslan Makhmatkhanov <rm@FreeBSD.org> AuthorDate: 2024-06-04 11:59:09 +0000 Commit: Ruslan Makhmatkhanov <rm@FreeBSD.org> CommitDate: 2024-06-04 11:59:09 +0000 www/py-http-parser: fix build with python3.11 make it recreate the source with newer cython PR: 275494 Approved by: portmgr (blanket approval) --- www/py-http-parser/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/www/py-http-parser/Makefile b/www/py-http-parser/Makefile index 93ea29f19358..b619329a105a 100644 --- a/www/py-http-parser/Makefile +++ b/www/py-http-parser/Makefile @@ -12,7 +12,10 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= python -USE_PYTHON= autoplist distutils +USE_PYTHON= autoplist cython distutils + +post-patch: + cython-${PYTHON_VER} ${WRKSRC}/http_parser/parser.pyx post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/http_parser/parser*.so