git: 55e313d01a94 - main - math/py-hmmlearn: dehardcode PYTHON_SUFFIX

From: Ruslan Makhmatkhanov <rm_at_FreeBSD.org>
Date: Tue, 16 Jan 2024 19:48:11 UTC
The branch main has been updated by rm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=55e313d01a94c2c10743ddbd5474b434ae9cc226

commit 55e313d01a94c2c10743ddbd5474b434ae9cc226
Author:     Ruslan Makhmatkhanov <rm@FreeBSD.org>
AuthorDate: 2024-01-16 19:46:58 +0000
Commit:     Ruslan Makhmatkhanov <rm@FreeBSD.org>
CommitDate: 2024-01-16 19:46:58 +0000

    math/py-hmmlearn: dehardcode PYTHON_SUFFIX
    
    this allows us to build this port with other python versions
    
    PR:             275494
    Approved by:    portmger (blanket approval)
---
 math/py-hmmlearn/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/math/py-hmmlearn/Makefile b/math/py-hmmlearn/Makefile
index 3baef7e19c21..936422f9c038 100644
--- a/math/py-hmmlearn/Makefile
+++ b/math/py-hmmlearn/Makefile
@@ -25,7 +25,7 @@ USES=		python
 USE_PYTHON=	autoplist pep517 pytest
 
 post-stage:
-	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/hmmlearn/_hmmc.cpython-39.so
+	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/hmmlearn/_hmmc.cpython-${PYTHON_SUFFIX}.so
 
 # 2023-12-29: Tests currently fail due to known upstream issues
 do-test: