aboutsummaryrefslogtreecommitdiff
path: root/biology
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2022-03-02 18:23:09 +0000
committerThierry Thomas <thierry@FreeBSD.org>2022-03-02 18:49:25 +0000
commitebbccfc73c27e29ee6c66d34494b6c2c6be37c82 (patch)
treeb887589ae37e8aa58ded1ce18136eba85f77a8af /biology
parentae3f2e820f4a2c86e9526b375ce158bc07b52062 (diff)
downloadports-ebbccfc73c27e29ee6c66d34494b6c2c6be37c82.tar.gz
ports-ebbccfc73c27e29ee6c66d34494b6c2c6be37c82.zip
biology/py-PySCeS: fix with Python ≠ 3.8
PR: 262304 Approved by: yuri (maintainer)
Diffstat (limited to 'biology')
-rw-r--r--biology/py-PySCeS/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/biology/py-PySCeS/Makefile b/biology/py-PySCeS/Makefile
index b9df2b8c0536..9c7f7fef7375 100644
--- a/biology/py-PySCeS/Makefile
+++ b/biology/py-PySCeS/Makefile
@@ -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();"