Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Mar 2022 18:49:30 GMT
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ebbccfc73c27 - main - =?utf-8?Q?biology/py-PySCeS: fix with Python =E2=89=A0 3.8?=
Message-ID:  <202203021849.222InU70009715@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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();"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202203021849.222InU70009715>