1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00

math/py-rustworkx: Fix plist

Reported by:	fallout
This commit is contained in:
Yuri Victorovich 2024-07-15 00:46:53 -07:00
parent af03efd761
commit 9ab41406fc

View File

@ -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