Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jan 2024 19:48:11 GMT
From:      Ruslan Makhmatkhanov <rm@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 55e313d01a94 - main - math/py-hmmlearn: dehardcode PYTHON_SUFFIX
Message-ID:  <202401161948.40GJmB96077327@gitrepo.freebsd.org>

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



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