Skip to content

Commit

Permalink
devel/py-numba: Fix build with numpy-1.25.0
Browse files Browse the repository at this point in the history
PR:		272395
Reported by:	wen@
Approved by:	portmgr(fix build)
  • Loading branch information
wenheping committed Jul 7, 2023
1 parent 2f1c563 commit 0347e95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devel/py-numba/Makefile
Expand Up @@ -28,7 +28,7 @@ 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
@${SED} -i.bak 's#1\.24#1\.26#g' ${WRKSRC}/setup.py

post-install:
@${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name "*.so" | ${XARGS} ${STRIP_CMD}
Expand Down

0 comments on commit 0347e95

Please sign in to comment.