Commit Graph

5 Commits

Author SHA1 Message Date
Khem Raj
5f1e50c437
python3-icu: Fix build with GCC-15
drop is_trivial check
Fixes
| In file included from bases.cpp:32:
| arg.h:856:37: error: static assertion failed
|   856 |   static_assert(std::is_trivial<T>::value);             \
|       |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
| arg.h:859:1: note: in expansion of macro '_IS_POD'
|   859 | _IS_POD(AnyPythonObject);
|       | ^~~~~~~

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-05-04 23:18:21 -07:00
Wang Mingyu
aafff40e02 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>
2023-02-08 08:51:44 -08:00
Wang Mingyu
b38d31c1c2 python3-icu: upgrade 2.8 -> 2.8.1
refresh 0001-Fix-host-contamination-of-include-files.patch
for new version.

License-Update: year updated to 2022.

Changelog:
=========
  - renamed _icu extension module to _icu_ and moved it into icu module
  - moved icu python module sources into py directory
  - deleted long deprecated PyICU.py file

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-09 07:37:03 -08:00
Khem Raj
f528f9614f python3-icu: Upgrade to 2.7.2
License-Update: Use info in setup.py for license as dedicated LICENSE
file has disappeared. License still is MIT

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2021-04-21 08:26:07 -07:00
Armin Kuster
74c3fc3084 python3-icu: add new package
needed by python3-natsort

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-12 19:04:17 -07:00