Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jan 2024 12:46:44 GMT
From:      Wen Heping <wen@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 34c962fc2040 - main - math/py-PyMetis: Fix build with python-3.11
Message-ID:  <202401221246.40MCki6B031151@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401221246.40MCki6B031151>