devel/py-numba: Fix build with numpy-1.24

Approved by:	portmgr(blanket)
This commit is contained in:
Wen Heping 2023-02-08 14:54:41 +08:00
parent 9aa6b75568
commit c91535b4c0

View file

@ -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}