1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

math/py-PyMetis: Fix build with python-3.11

PR:		275494
Approved by:	portmgr(blanket, fix build)
This commit is contained in:
Wen Heping 2024-01-22 12:45:23 +00:00
parent a84e5242a3
commit 34c962fc20

View File

@ -23,7 +23,7 @@ USE_PYTHON= distutils autoplist pytest
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pymetis/_internal.cpython-39.so
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pymetis/_internal.cpython-${PYTHON_SUFFIX}.so
do-test:
@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest