diff options
author | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2024-06-04 11:59:09 +0000 |
---|---|---|
committer | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2024-06-04 11:59:09 +0000 |
commit | 1f6d7b612001bd3e07087d4821eae91436cbddc2 (patch) | |
tree | 9d69eb654195ac1252567111b050bf0bc4962156 | |
parent | 91e7916b1c0954e949a0482cfda80ad5ff57767b (diff) |
www/py-http-parser: fix build with python3.11
make it recreate the source with newer cython
PR: 275494
Approved by: portmgr (blanket approval)
-rw-r--r-- | www/py-http-parser/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
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 |