1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

biology/py-PySCeS: fix with Python ≠ 3.8

PR:		262304
Approved by:	yuri (maintainer)
This commit is contained in:
Thierry Thomas 2022-03-02 19:23:09 +01:00
parent ae3f2e820f
commit ebbccfc73c

View File

@ -27,8 +27,8 @@ LDFLAGS+= -lpython${PYTHON_VER} -shared # see https://github.com/PySCeS/pysces/i
post-install:
@${STRIP_CMD} \
${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pysces/pitcon/pitcon.cpython-38.so \
${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pysces/nleq2/nleq2.cpython-38.so
${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pysces/pitcon/pitcon.cpython-${PYTHON_SUFFIX}.so \
${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pysces/nleq2/nleq2.cpython-${PYTHON_SUFFIX}.so
do-test: install # from section 2.1 Loading PySCeS in http://pysces.sourceforge.net/pdf/userguide.pdf
@${PYTHON_CMD} -c "import pysces; pysces.test();"