diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2023-02-08 16:12:40 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-02-08 08:51:44 -0800 |
| commit | aafff40e023bff7cebef2cbb4440b7a6b6055b1f (patch) | |
| tree | a8723e412baed05c889919beff91162b30c9e66c /meta-python | |
| parent | e74212926185825c41e3f902de708fd16af677ac (diff) | |
| download | meta-openembedded-aafff40e023bff7cebef2cbb4440b7a6b6055b1f.tar.gz | |
python3-icu: upgrade 2.8.1 -> 2.10.2
0001-Fix-host-contamination-of-include-files.patch
updated for 2.10.2
Changelog:
==========
- fixed bug in logic computing max_char for PyUnicode_New()
- fixed build issues with ICU < 72
- fixed bug with building on MacOS when pkg-config is present
- added link to note about building everything from sources
- added wrapper for u_cleanup/u_init sequence as ResourceBundle.resetICU()
- added wrapper for TimeZone.getRegion()
- added support for ICU 72.1
- added wrapper for UnicodeSetIterator::skipToStrings()
- added wrapper for DisplayOptions, DisplayOptions::Builder and related enums
- added wrapper for FormattedNumber::getNounClass()
- added wrapper for NumberFormatter.displayOptions()
- added support for ICU 71.1
- added wrappers for UMeasurePrefix, MeasureUnit.withPrefix()|getPrefix()
- added UNumberRoundingPriority, FractionPrecision.withSignificantDigits()
- added UNumberTrailingZeroDisplay, Precision.trailingZeroDisplay()
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-icu/0001-Fix-host-contamination-of-include-files.patch | 13 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-icu_2.10.2.bb (renamed from meta-python/recipes-devtools/python/python3-icu_2.8.1.bb) | 2 |
2 files changed, 9 insertions, 6 deletions
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 36485d56ce..7bb5ee58cc 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 | |||
| @@ -10,25 +10,25 @@ Also, don't use icu-config | |||
| 10 | Upstream-Status: Inappropriate [OE specific] | 10 | Upstream-Status: Inappropriate [OE specific] |
| 11 | Signed-off-by: Armin Kuster <akuster808@gmail.com> | 11 | Signed-off-by: Armin Kuster <akuster808@gmail.com> |
| 12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 13 | 13 | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> | |
| 14 | --- | 14 | --- |
| 15 | setup.py | 3 +-- | 15 | setup.py | 3 +-- |
| 16 | 1 file changed, 1 insertion(+), 2 deletions(-) | 16 | 1 file changed, 1 insertion(+), 2 deletions(-) |
| 17 | 17 | ||
| 18 | diff --git a/setup.py b/setup.py | 18 | diff --git a/setup.py b/setup.py |
| 19 | index d308b80..56e9c74 100644 | 19 | index 176c9ab..0a10268 100644 |
| 20 | --- a/setup.py | 20 | --- a/setup.py |
| 21 | +++ b/setup.py | 21 | +++ b/setup.py |
| 22 | @@ -81,7 +81,7 @@ Building PyICU %s for ICU %s (max ICU major version supported: %s) | 22 | @@ -68,7 +68,7 @@ elif platform.startswith('freebsd'): |
| 23 | 23 | ||
| 24 | CONFIGURE_WITH_ICU_CONFIG = { | 24 | CONFIGURE_WITH_ICU_CONFIG = { |
| 25 | 'darwin': True, | 25 | 'darwin': False, |
| 26 | - 'linux': True, | 26 | - 'linux': True, |
| 27 | + 'linux': False, | 27 | + 'linux': False, |
| 28 | 'freebsd': False, # not tested | 28 | 'freebsd': False, # not tested |
| 29 | 'win32': False, # no icu-config | 29 | 'win32': False, # no icu-config |
| 30 | 'sunos5': False, # not tested | 30 | 'sunos5': False, # not tested |
| 31 | @@ -273,7 +273,6 @@ setup(name="PyICU", | 31 | @@ -277,7 +277,6 @@ setup(name="PyICU", |
| 32 | ext_modules=[Extension('icu._icu_', | 32 | ext_modules=[Extension('icu._icu_', |
| 33 | [filename for filename in sorted(os.listdir(os.curdir)) | 33 | [filename for filename in sorted(os.listdir(os.curdir)) |
| 34 | if filename.endswith('.cpp')], | 34 | if filename.endswith('.cpp')], |
| @@ -36,3 +36,6 @@ index d308b80..56e9c74 100644 | |||
| 36 | extra_compile_args=_cflags, | 36 | extra_compile_args=_cflags, |
| 37 | extra_link_args=_lflags, | 37 | extra_link_args=_lflags, |
| 38 | libraries=_libraries)], | 38 | libraries=_libraries)], |
| 39 | -- | ||
| 40 | 2.34.1 | ||
| 41 | |||
diff --git a/meta-python/recipes-devtools/python/python3-icu_2.8.1.bb b/meta-python/recipes-devtools/python/python3-icu_2.10.2.bb index 027ef129ee..cbcc2f87b6 100644 --- a/meta-python/recipes-devtools/python/python3-icu_2.8.1.bb +++ b/meta-python/recipes-devtools/python/python3-icu_2.10.2.bb | |||
| @@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=0724597863f1581ab01429e0423e779f" | |||
| 8 | DEPENDS += "icu" | 8 | DEPENDS += "icu" |
| 9 | 9 | ||
| 10 | PYPI_PACKAGE = "PyICU" | 10 | PYPI_PACKAGE = "PyICU" |
| 11 | SRC_URI[sha256sum] = "f0b9549a87f87ba7c413f13679d137271e0b37f1f39b0109ace38257d4d148d6" | 11 | SRC_URI[sha256sum] = "0c3309eea7fab6857507ace62403515b60fe096cbfb4f90d14f55ff75c5441c1" |
| 12 | 12 | ||
| 13 | SRC_URI += "file://0001-Fix-host-contamination-of-include-files.patch" | 13 | SRC_URI += "file://0001-Fix-host-contamination-of-include-files.patch" |
| 14 | 14 | ||
