git: 34c962fc2040 - main - math/py-PyMetis: Fix build with python-3.11
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 22 Jan 2024 12:46:44 UTC
The branch main has been updated by wen:
URL: https://cgit.FreeBSD.org/ports/commit/?id=34c962fc20401402908bb9d79948d4edc638f20e
commit 34c962fc20401402908bb9d79948d4edc638f20e
Author: Wen Heping <wen@FreeBSD.org>
AuthorDate: 2024-01-22 12:45:23 +0000
Commit: Wen Heping <wen@FreeBSD.org>
CommitDate: 2024-01-22 12:46:23 +0000
math/py-PyMetis: Fix build with python-3.11
PR: 275494
Approved by: portmgr(blanket, fix build)
---
math/py-PyMetis/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/math/py-PyMetis/Makefile b/math/py-PyMetis/Makefile
index 8621493dea26..f52bf002d3bb 100644
--- a/math/py-PyMetis/Makefile
+++ b/math/py-PyMetis/Makefile
@@ -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