Date: Mon, 20 Sep 2021 03:10:02 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 1dcd34af411b - main - science/cantera: Fix handling of Python versions Message-ID: <202109200310.18K3A2gk038263@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=1dcd34af411b87cdbc585bee08d1bb31a781600f commit 1dcd34af411b87cdbc585bee08d1bb31a781600f Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2021-09-20 03:08:25 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2021-09-20 03:08:25 +0000 science/cantera: Fix handling of Python versions --- science/cantera/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/science/cantera/Makefile b/science/cantera/Makefile index f31133debef8..b5d403c77058 100644 --- a/science/cantera/Makefile +++ b/science/cantera/Makefile @@ -45,7 +45,7 @@ OPTIONS_DEFINE= PYTHON OPTIONS_DEFAULT= PYTHON OPTIONS_SUB= yes -PYTHON_USES= python +PYTHON_USES= python:3.6+ PYTHON_USE= PYTHON=cython PYTHON_MAKE_ARGS= python_cmd="${PYTHON_CMD}" PYTHON_MAKE_ARGS_OFF= python_package="none" @@ -64,6 +64,6 @@ do-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcantera_shared.so.2.6.0 do-install-PYTHON-on: - @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/cantera/_cantera.cpython-38.so + @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/cantera/_cantera.cpython-${PYTHON_VER:S/.//}.so .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109200310.18K3A2gk038263>