git: d68ad6ce2bcc - main - textproc/py-charset-normalizer: Allow build with cython 3.3.0+
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 19 Sep 2026 15:30:03 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d68ad6ce2bccae62817c6d069adb36af788d13c7
commit d68ad6ce2bccae62817c6d069adb36af788d13c7
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-09-19 15:26:45 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-09-19 15:26:45 +0000
textproc/py-charset-normalizer: Allow build with cython 3.3.0+
---
textproc/py-charset-normalizer/files/patch-cython | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/textproc/py-charset-normalizer/files/patch-cython b/textproc/py-charset-normalizer/files/patch-cython
new file mode 100644
index 000000000000..a8407a157921
--- /dev/null
+++ b/textproc/py-charset-normalizer/files/patch-cython
@@ -0,0 +1,11 @@
+--- _build_hook/backend.py.orig 2026-08-15 06:34:17 UTC
++++ _build_hook/backend.py
+@@ -6,7 +6,7 @@ USE_CYTHON = os.getenv("CHARSET_NORMALIZER_USE_CYTHON"
+ from setuptools import build_meta as _orig # type: ignore[import-untyped]
+
+ USE_CYTHON = os.getenv("CHARSET_NORMALIZER_USE_CYTHON", "0") == "1"
+-CYTHON_SPEC = "Cython>=3.2,<3.3"
++CYTHON_SPEC = "Cython>=3.2"
+
+ # Expose all the PEP 517 hooks from setuptools
+ get_requires_for_build_sdist = _orig.get_requires_for_build_sdist