git: 781943db1d6b - main - math/py-primme: Replace hardcoded 38 suffix with PYTHON_EXT_SUFFIX

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Wed, 15 Jun 2022 21:29:30 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=781943db1d6b0ff525154937555066c4083c9c68

commit 781943db1d6b0ff525154937555066c4083c9c68
Author:     Thierry Thomas <thierry@freebsd.org>
AuthorDate: 2022-06-15 21:19:58 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-06-15 21:19:58 +0000

    math/py-primme: Replace hardcoded 38 suffix with PYTHON_EXT_SUFFIX
---
 math/py-primme/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/math/py-primme/Makefile b/math/py-primme/Makefile
index db6ca5f9cf54..9b803f652edc 100644
--- a/math/py-primme/Makefile
+++ b/math/py-primme/Makefile
@@ -15,7 +15,6 @@ LIB_DEPENDS=	libprimme.so:math/primme
 RUN_DEPENDS=	${PYNUMPY} \
 		${PYTHON_PKGNAMEPREFIX}future>0:devel/py-future@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR}
-		
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR}
 
 USES=		fortran gmake localbase:ldflags python:3.6+ shebangfix
@@ -26,6 +25,6 @@ TEST_TARGET=	test
 BINARY_ALIAS=	python2=${PYTHON_CMD}
 
 post-install:
-	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/primme.cpython-38.so
+	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/primme${PYTHON_EXT_SUFFIX}.so
 
 .include <bsd.port.mk>