From 446560ab41de5e29ef5dfb556de1149e76a80367 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Sat, 1 Jun 2024 15:49:49 +0200 Subject: [PATCH] python3-icu: upgrade from 2.12 to 2.13.1 to fix build with icu-75 Version 2.13 -> 2.13.1 ---------------------- - change c++11 to c++17 in setup.py as current versions of ICU require it Version 2.12 -> 2.13 -------------------- - fixed build issues on Windows - added wrappers for MeasureUnit(locale, width) and getUnitDisplayName() - added wrappers for DateFormatSymbols.getEra|ZodiacNames() - added wrappers for DateFormatSymbols.getZoneStrings() - added wrappers for LocaleDisplayNames - fixed bug dealloc calling wrong destructor on most types (Fredrik Roubert) - added support for ICU 75.1 - added wrappers for LocalizedNumber|Range|Formatter.withoutLocale() - added wrappers for UIdentifierType, Char.hasIDType(), Char.getIDTypes() - added wrappers for UIdentifierStatus - added wrappers for UProperty.IDENTIFIER_TYPE, UProperty.IDENTIFIER_STATUS Signed-off-by: Martin Jansa Signed-off-by: Khem Raj --- .../python/{python3-icu_2.12.bb => python3-icu_2.13.1.bb} | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-icu_2.12.bb => python3-icu_2.13.1.bb} (70%) diff --git a/meta-python/recipes-devtools/python/python3-icu_2.12.bb b/meta-python/recipes-devtools/python/python3-icu_2.13.1.bb similarity index 70% rename from meta-python/recipes-devtools/python/python3-icu_2.12.bb rename to meta-python/recipes-devtools/python/python3-icu_2.13.1.bb index 6394db4e9e9..6a590de5fd2 100644 --- a/meta-python/recipes-devtools/python/python3-icu_2.12.bb +++ b/meta-python/recipes-devtools/python/python3-icu_2.13.1.bb @@ -8,8 +8,12 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=0724597863f1581ab01429e0423e779f" DEPENDS += "icu" PYPI_PACKAGE = "PyICU" -SRC_URI[sha256sum] = "bd7ab5efa93ad692e6daa29cd249364e521218329221726a113ca3cb281c8611" + +SRC_URI[sha256sum] = "d4919085eaa07da12bade8ee721e7bbf7ade0151ca0f82946a26c8f4b98cdceb" 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 = "${WORKDIR}/pyicu-${PV}"