From 446560ab41de5e29ef5dfb556de1149e76a80367 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Sat, 1 Jun 2024 15:49:49 +0200 Subject: 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 --- .../recipes-devtools/python/python3-icu_2.13.1.bb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-icu_2.13.1.bb (limited to 'meta-python/recipes-devtools/python/python3-icu_2.13.1.bb') diff --git a/meta-python/recipes-devtools/python/python3-icu_2.13.1.bb b/meta-python/recipes-devtools/python/python3-icu_2.13.1.bb new file mode 100644 index 0000000000..6a590de5fd --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-icu_2.13.1.bb @@ -0,0 +1,19 @@ +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" + +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}" -- cgit v1.2.3-54-g00ecf