1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

math/py-primme: Replace hardcoded 38 suffix with PYTHON_EXT_SUFFIX

This commit is contained in:
Thierry Thomas 2022-06-15 14:19:58 -07:00 committed by Yuri Victorovich
parent 4a3280d573
commit 781943db1d

View File

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