git: c91535b4c0b8 - main - devel/py-numba: Fix build with numpy-1.24
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 08 Feb 2023 06:55:49 UTC
The branch main has been updated by wen: URL: https://cgit.FreeBSD.org/ports/commit/?id=c91535b4c0b819fda1159620e2cc3a875db6465a commit c91535b4c0b819fda1159620e2cc3a875db6465a Author: Wen Heping <wen@FreeBSD.org> AuthorDate: 2023-02-08 06:54:41 +0000 Commit: Wen Heping <wen@FreeBSD.org> CommitDate: 2023-02-08 06:54:41 +0000 devel/py-numba: Fix build with numpy-1.24 Approved by: portmgr(blanket) --- devel/py-numba/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/devel/py-numba/Makefile b/devel/py-numba/Makefile index f62384aacdac..a1df51610a51 100644 --- a/devel/py-numba/Makefile +++ b/devel/py-numba/Makefile @@ -27,6 +27,9 @@ MAKE_ENV= NUMBA_DISABLE_TBB=1 # workaround for: not compatible with onetbb-2021. TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} TEST_WRKSRC= ${WRKSRC}/numba/tests +post-patch: + @${SED} -i.bak 's#1\.24#1\.25#g' ${WRKSRC}/setup.py + post-install: @${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name "*.so" | ${XARGS} ${STRIP_CMD}