Date: Thu, 15 Jan 2026 12:00:19 +0000 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: fa401ed60ed7 - main - Mk/Uses/python.mk: Update cython support after lang/cython 3.2.4 update Message-ID: <6968d6d3.3a725.53b47ca6@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=fa401ed60ed704a283f6ee98eb576201f35f0ca9 commit fa401ed60ed704a283f6ee98eb576201f35f0ca9 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2026-01-15 11:45:07 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2026-01-15 11:54:03 +0000 Mk/Uses/python.mk: Update cython support after lang/cython 3.2.4 update - Add USE_PYTHON=cython0 - Update CYTHON*_DEPENDS PR: 291778 --- Mk/Uses/python.mk | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/Mk/Uses/python.mk b/Mk/Uses/python.mk index 9d66bc6ca52c..c1c041b53386 100644 --- a/Mk/Uses/python.mk +++ b/Mk/Uses/python.mk @@ -96,6 +96,10 @@ # # cython_test - Depend on lang/cython for tests. # +# cython0 - Depend on lang/cython0 at build-time. +# +# cython0_run - Depend on lang/cython0 at run-time. +# # cython3 - Depend on lang/cython3 at build-time. # # cython3_run - Depend on lang/cython3 at run-time. @@ -356,6 +360,8 @@ _VALID_PYTHON_FEATURES= allflavors \ cython \ cython_run \ cython_test \ + cython0 \ + cython0_run \ cython3 \ cython3_run \ cython3_test \ @@ -651,8 +657,9 @@ TEST_DEPENDS+= ${CRYPTOGRAPHY_DEPENDS} . endif # cython* support -CYTHON_DEPENDS=${PYTHON_PKGNAMEPREFIX}cython>=0.29.37<3:lang/cython@${PY_FLAVOR} -CYTHON3_DEPENDS=${PYTHON_PKGNAMEPREFIX}cython3>=3.2.3:lang/cython3@${PY_FLAVOR} +CYTHON_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cython>=3.2.4:lang/cython@${PY_FLAVOR} +CYTHON0_DEPENDS=${PYTHON_PKGNAMEPREFIX}cython0>=0.29.37<3:lang/cython0@${PY_FLAVOR} +CYTHON3_DEPENDS=${CYTHON_DEPENDS} . if defined(_PYTHON_FEATURE_CYTHON) BUILD_DEPENDS+= ${CYTHON_DEPENDS} @@ -666,6 +673,14 @@ RUN_DEPENDS+= ${CYTHON_DEPENDS} TEST_DEPENDS+= ${CYTHON_DEPENDS} . endif +. if defined(_PYTHON_FEATURE_CYTHON0) +BUILD_DEPENDS+= ${CYTHON0_DEPENDS} +. endif + +. if defined(_PYTHON_FEATURE_CYTHON0_RUN) +RUN_DEPENDS+= ${CYTHON0_DEPENDS} +. endif + . if defined(_PYTHON_FEATURE_CYTHON3) BUILD_DEPENDS+= ${CYTHON3_DEPENDS} . endifhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6968d6d3.3a725.53b47ca6>
