Skip to contentSkip to conversation

python3-icu: upgrade from 2.12 to 2.13.1 to fix build with icu-75

PATCH New Martin Jansa 1 participant 1 message Jun 1, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 .../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%)
meta-python/recipes-devtools/python/python3-icu_2.13.1.bb renamed from meta-python/recipes-devtools/python/python3-icu_2.12.bb +5 -1
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 6394db4e9e..6a590de5fd 100644
@@ -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}"
Signature · 1 line
2.45.2