git: 9c457cd49435 - main - biology/py-htseq: Fix build with python-3.11

From: Wen Heping <wen_at_FreeBSD.org>
Date: Sun, 21 Jan 2024 07:15:14 UTC
The branch main has been updated by wen:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9c457cd494352b76692eb115adbe83ff9bc5dee7

commit 9c457cd494352b76692eb115adbe83ff9bc5dee7
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2024-01-21 07:13:35 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2024-01-21 07:13:35 +0000

    biology/py-htseq: Fix build with python-3.11
    
    PR:             275494
    Approved by:    portmgr@(blanket, fix build)
---
 biology/py-htseq/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/biology/py-htseq/Makefile b/biology/py-htseq/Makefile
index 565daa18d8df..49c686b9526a 100644
--- a/biology/py-htseq/Makefile
+++ b/biology/py-htseq/Makefile
@@ -24,7 +24,7 @@ USES=		python
 USE_PYTHON=	autoplist cython distutils pytest
 
 post-stage:
-	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/HTSeq/_StepVector.cpython-39.so
-	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/HTSeq/_HTSeq.cpython-39.so
+	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/HTSeq/_StepVector.cpython-${PYTHON_SUFFIX}.so
+	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/HTSeq/_HTSeq.cpython-${PYTHON_SUFFIX}.so
 
 .include <bsd.port.mk>