From a22494569d810123c633afcd0646c6f06c8def0e Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 11 Nov 2025 15:55:07 +0800 Subject: python3-icu: upgrade 2.15.3 -> 2.16 Changelog: ========== - fixed issue #178 - added new enums from new unicode release in UBlockCode, UScriptCode - added missing wrappers for ECollationStrength and EComparisonResult - added wrapper for UIndicConjunctBreak - added support for ICU 78.1 0001-Fix-host-contamination-of-include-files.patch refreshed for 2.16 Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- ...001-Fix-host-contamination-of-include-files.patch | 9 +++------ .../recipes-devtools/python/python3-icu_2.15.3.bb | 20 -------------------- .../recipes-devtools/python/python3-icu_2.16.bb | 20 ++++++++++++++++++++ 3 files changed, 23 insertions(+), 26 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-icu_2.15.3.bb create mode 100644 meta-python/recipes-devtools/python/python3-icu_2.16.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-icu/0001-Fix-host-contamination-of-include-files.patch b/meta-python/recipes-devtools/python/python3-icu/0001-Fix-host-contamination-of-include-files.patch index 7bb5ee58cc..d3a05972c3 100644 --- a/meta-python/recipes-devtools/python/python3-icu/0001-Fix-host-contamination-of-include-files.patch +++ b/meta-python/recipes-devtools/python/python3-icu/0001-Fix-host-contamination-of-include-files.patch @@ -1,4 +1,4 @@ -From a82fea9663f0c70cf57cd06650f400e878afc5e4 Mon Sep 17 00:00:00 2001 +From 5648531ec5f77f5270ddf5c7e49ade5c160669bc Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 16 Apr 2021 10:48:36 -0700 Subject: [PATCH] Fix host contamination of include files @@ -16,7 +16,7 @@ Signed-off-by: Wang Mingyu 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setup.py b/setup.py -index 176c9ab..0a10268 100644 +index 8a975e5..e85fdd3 100644 --- a/setup.py +++ b/setup.py @@ -68,7 +68,7 @@ elif platform.startswith('freebsd'): @@ -28,7 +28,7 @@ index 176c9ab..0a10268 100644 'freebsd': False, # not tested 'win32': False, # no icu-config 'sunos5': False, # not tested -@@ -277,7 +277,6 @@ setup(name="PyICU", +@@ -277,7 +277,6 @@ setup(name="pyicu", ext_modules=[Extension('icu._icu_', [filename for filename in sorted(os.listdir(os.curdir)) if filename.endswith('.cpp')], @@ -36,6 +36,3 @@ index 176c9ab..0a10268 100644 extra_compile_args=_cflags, extra_link_args=_lflags, libraries=_libraries)], --- -2.34.1 - diff --git a/meta-python/recipes-devtools/python/python3-icu_2.15.3.bb b/meta-python/recipes-devtools/python/python3-icu_2.15.3.bb deleted file mode 100644 index 1f5cf6d042..0000000000 --- a/meta-python/recipes-devtools/python/python3-icu_2.15.3.bb +++ /dev/null @@ -1,20 +0,0 @@ -SUMMARY = "Python extension wrapping the ICU C++ API" -HOMEPAGE = "https://gitlab.pyicu.org/main/pyicu" -BUGTRACKER = "https://gitlab.pyicu.org/main/pyicu/-/issues" -SECTION = "devel/python" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=0724597863f1581ab01429e0423e779f" - -DEPENDS += "icu" - -PYPI_PACKAGE = "pyicu" -UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" - -SRC_URI[sha256sum] = "f32e78e1cb64d0aeb14f027e037a8944861d3114548818a6adf0081ef51aefc3" - -SRC_URI += "file://0001-Fix-host-contamination-of-include-files.patch" - -inherit pkgconfig pypi python_setuptools_build_meta - -# it's lowercase pyicu instead of ${PYPI_PACKAGE} in this version -S = "${UNPACKDIR}/pyicu-${PV}" diff --git a/meta-python/recipes-devtools/python/python3-icu_2.16.bb b/meta-python/recipes-devtools/python/python3-icu_2.16.bb new file mode 100644 index 0000000000..c46e4e9f8b --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-icu_2.16.bb @@ -0,0 +1,20 @@ +SUMMARY = "Python extension wrapping the ICU C++ API" +HOMEPAGE = "https://gitlab.pyicu.org/main/pyicu" +BUGTRACKER = "https://gitlab.pyicu.org/main/pyicu/-/issues" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=0724597863f1581ab01429e0423e779f" + +DEPENDS += "icu" + +PYPI_PACKAGE = "pyicu" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" + +SRC_URI[sha256sum] = "42b3a8062e3b23e927ca727e6b5e1730d86c70279834e4887152895d2eb012d9" + +SRC_URI += "file://0001-Fix-host-contamination-of-include-files.patch" + +inherit pkgconfig pypi python_setuptools_build_meta + +# it's lowercase pyicu instead of ${PYPI_PACKAGE} in this version +S = "${UNPACKDIR}/pyicu-${PV}" -- cgit v1.2.3-54-g00ecf