Date: Fri, 25 Mar 2022 13:48:57 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 792ff6045206 - main - Mk/Uses/python.mk: Use lang/cython for all Python versions Message-ID: <202203251348.22PDmvOJ026700@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=792ff6045206a97a0ec3625a0417303b8156bcc3 commit 792ff6045206a97a0ec3625a0417303b8156bcc3 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-03-25 13:10:55 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-03-25 13:37:56 +0000 Mk/Uses/python.mk: Use lang/cython for all Python versions lang/cython has been updated to support lang/python311 (3.11.0a6) while lang/cython-devel does not support it yet (broken since 3.11.0a4). --- Mk/Uses/python.mk | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Mk/Uses/python.mk b/Mk/Uses/python.mk index d0097162a142..4226c3823f73 100644 --- a/Mk/Uses/python.mk +++ b/Mk/Uses/python.mk @@ -514,18 +514,12 @@ _PYTHONPKGLIST= ${WRKDIR}/.PLIST.pymodtmp # - it uses USE_PYTHON=distutils # -.if ${PYTHON_REL} >= 31100 -_CYTHON_DEP= cython-${PYTHON_VER}:lang/cython-devel@${PY_FLAVOR} -.else -_CYTHON_DEP= cython-${PYTHON_VER}:lang/cython@${PY_FLAVOR} -.endif - .if defined(_PYTHON_FEATURE_CYTHON) -BUILD_DEPENDS+= ${_CYTHON_DEP} +BUILD_DEPENDS+= cython-${PYTHON_VER}:lang/cython@${PY_FLAVOR} .endif .if defined(_PYTHON_FEATURE_CYTHON_RUN) -RUN_DEPENDS+= ${_CYTHON_DEP} +RUN_DEPENDS+= cython-${PYTHON_VER}:lang/cython@${PY_FLAVOR} .endif .if defined(_PYTHON_FEATURE_CONCURRENT)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202203251348.22PDmvOJ026700>