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 <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Wang Mingyu 2025-11-11 15:55:07 +08:00 committed by Khem Raj
parent 37a709664e
commit a22494569d
No known key found for this signature in database
GPG Key ID: BB053355919D3314
2 changed files with 4 additions and 7 deletions

View File

@ -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 <raj.khem@gmail.com>
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 <wangmy@fujitsu.com>
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

View File

@ -10,7 +10,7 @@ DEPENDS += "icu"
PYPI_PACKAGE = "pyicu"
UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
SRC_URI[sha256sum] = "f32e78e1cb64d0aeb14f027e037a8944861d3114548818a6adf0081ef51aefc3"
SRC_URI[sha256sum] = "42b3a8062e3b23e927ca727e6b5e1730d86c70279834e4887152895d2eb012d9"
SRC_URI += "file://0001-Fix-host-contamination-of-include-files.patch"