Created attachment 229552 [details] Patch Add devel version of cython. Apart from that 3.x cython branch is where all the development goes on, 0.29.x only gettig backported bugfixes, this is currently the only version which supports python 3.11. Because of that, wire USE_PYTHON=cython to cython-devel for python >= 3.11 in Uses/python.mk as well and limit supported python versions with <= 3.10 for cython.
(assigned to python@ as it's more related to python.mk than to cython port).
devel/cython-devel looks fine to me. BTW, I think "Created by:" comment can be omitted, or replacing with your name. Not a big deal, though. Another minor point is I suggest we get rid of _CYTHON_DEP and other in python.mk in the future, either remove it or replace it with USE=python:cython or so.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=ab67421b6e9f96ffc0975cc8f28e57fc71612127 commit ab67421b6e9f96ffc0975cc8f28e57fc71612127 Author: Dmitry Marakasov <amdmi3@FreeBSD.org> AuthorDate: 2021-11-17 13:42:48 +0000 Commit: Dmitry Marakasov <amdmi3@FreeBSD.org> CommitDate: 2021-11-24 17:00:33 +0000 lang/cython-devel: add port Add devel version of cython. Apart from that 3.x cython branch is where all the development goes on, 0.29.x only getting backported bugfixes, this is currently the only version which supports python 3.11. Because of that, wire USE_PYTHON=cython to cython-devel for python >= 3.11 in Uses/python.mk as well and limit supported python versions with <= 3.10 for cython. PR: 259898 Approved by: python (lwhsu) Mk/Uses/python.mk | 10 ++++++++-- lang/Makefile | 1 + lang/cython-devel/Makefile (new) | 21 +++++++++++++++++++++ lang/cython-devel/distinfo (new) | 3 +++ lang/cython-devel/pkg-descr (new) | 16 ++++++++++++++++ lang/cython/Makefile | 2 +- 6 files changed, 50 insertions(+), 3 deletions(-)
> we get rid of _CYTHON_DEP and other in python.mk Please elaborate.