git: 9ab41406fc3e - main - math/py-rustworkx: Fix plist

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 15 Jul 2024 07:47:16 UTC
The branch main has been updated by yuri:

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

commit 9ab41406fc3eb996ef4baf408399cc4f2bb9e42e
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-07-15 07:46:53 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-07-15 07:46:53 +0000

    math/py-rustworkx: Fix plist
    
    Reported by:    fallout
---
 math/py-rustworkx/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/math/py-rustworkx/Makefile b/math/py-rustworkx/Makefile
index c83bd2f093ee..ce2c01f723aa 100644
--- a/math/py-rustworkx/Makefile
+++ b/math/py-rustworkx/Makefile
@@ -122,12 +122,12 @@ MAKE_ENV=	${CARGO_ENV}
 TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
 TEST_WRKSRC=	${BUILD_WRKDIR}
 
-PLIST_FILES=	${PYTHON_SITELIBDIR}/rustworkx/rustworkx.abi3.so # workaround for https://github.com/Qiskit/rustworkx/issues/654
+PLIST_FILES=	${PYTHON_SITELIBDIR}/rustworkx/rustworkx${PYTHON_EXT_SUFFIX}.so # workaround for https://github.com/Qiskit/rustworkx/issues/654
 
 BINARY_ALIAS=	python3=${PYTHON_CMD}
 
-xpost-install:
-	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/rustworkx/rustworkx.cpython-${PYTHON_SUFFIX}.so
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/rustworkx/rustworkx${PYTHON_EXT_SUFFIX}.so
 
 #do-test: # this runs tests in the fixed venv
 #	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} tox -epy