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 <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Martin Jansa 2024-06-01 15:49:49 +02:00 committed by Khem Raj
parent dc942a392f
commit 446560ab41
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -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}"