git: ebbccfc73c27 - main - biology/py-PySCeS: fix with Python ≠ 3.8
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 02 Mar 2022 18:49:30 UTC
The branch main has been updated by thierry:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ebbccfc73c27e29ee6c66d34494b6c2c6be37c82
commit ebbccfc73c27e29ee6c66d34494b6c2c6be37c82
Author: Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2022-03-02 18:23:09 +0000
Commit: Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2022-03-02 18:49:25 +0000
biology/py-PySCeS: fix with Python ≠ 3.8
PR: 262304
Approved by: yuri (maintainer)
---
biology/py-PySCeS/Makefile | 4 ++--
1 file 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();"