From a0f85d1bece383a619eb824670f134aef260244db80615308967611be04ee07f Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sun, 25 Jun 2023 19:18:39 +0000 Subject: [PATCH] Accepting request 1095193 from devel:languages:python:mailman:backports - Update to version 2.11 * fixed bug PluralFormat.format accepting python strings, which are immutable * fixed bug with UWordBreak wrapping wrong enum (UBreakIteratorType) * added wrappers for UBreakIteratorType, ULine|SentenceBreakTag * added wrappers for DateTimePatternGenerator::set|getDateTimeFormat() * added wrappers for Precision::incrementExact() * Locale objects can now be sorted (Fredrik Roubert) * added wrapper for Calendar::inTemporalLeapYear() * added wrappers for Calendar::get|getTemporalMonthCode() * changed all Calendar setters to return self instead of None, setter chaining - Use sle15_python_module_pythons OBS-URL: https://build.opensuse.org/request/show/1095193 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyICU?expand=0&rev=27 --- PyICU-2.10.2.tar.gz | 3 --- PyICU-2.11.tar.gz | 3 +++ python-PyICU.changes | 15 +++++++++++++++ python-PyICU.spec | 8 ++++---- 4 files changed, 22 insertions(+), 7 deletions(-) delete mode 100644 PyICU-2.10.2.tar.gz create mode 100644 PyICU-2.11.tar.gz diff --git a/PyICU-2.10.2.tar.gz b/PyICU-2.10.2.tar.gz deleted file mode 100644 index fed18ce..0000000 --- a/PyICU-2.10.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0c3309eea7fab6857507ace62403515b60fe096cbfb4f90d14f55ff75c5441c1 -size 255558 diff --git a/PyICU-2.11.tar.gz b/PyICU-2.11.tar.gz new file mode 100644 index 0000000..ad27aa9 --- /dev/null +++ b/PyICU-2.11.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3ab531264cfe9132b3d2ac5d708da9a4649d25f6e6813730ac88cf040a08a844 +size 257899 diff --git a/python-PyICU.changes b/python-PyICU.changes index 48a42ef..5f50c2d 100644 --- a/python-PyICU.changes +++ b/python-PyICU.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Sun Jun 25 07:21:50 UTC 2023 - Andreas Schneider + +- Update to version 2.11 + * fixed bug PluralFormat.format accepting python strings, which are immutable + * fixed bug with UWordBreak wrapping wrong enum (UBreakIteratorType) + * added wrappers for UBreakIteratorType, ULine|SentenceBreakTag + * added wrappers for DateTimePatternGenerator::set|getDateTimeFormat() + * added wrappers for Precision::incrementExact() + * Locale objects can now be sorted (Fredrik Roubert) + * added wrapper for Calendar::inTemporalLeapYear() + * added wrappers for Calendar::get|getTemporalMonthCode() + * changed all Calendar setters to return self instead of None, setter chaining +- Use sle15_python_module_pythons + ------------------------------------------------------------------- Thu Oct 27 10:57:22 UTC 2022 - Markéta Machová diff --git a/python-PyICU.spec b/python-PyICU.spec index eb4f5f6..5352d09 100644 --- a/python-PyICU.spec +++ b/python-PyICU.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,16 +16,16 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?sle15_python_module_pythons} %global modname PyICU Name: python-%{modname} -Version: 2.10.2 +Version: 2.11 Release: 0 Summary: Python Extension Wrapping the ICU C++ API License: MIT Group: Development/Libraries/Python URL: https://gitlab.pyicu.org -Source0: https://files.pythonhosted.org/packages/source/P/PyICU/%{modname}-%{version}.tar.gz +Source0: https://files.pythonhosted.org/packages/03/1b/800fce0236be0b8a99b3ccbb797786dd178028960b3fd65544e2d8bad5ac/PyICU-2.11.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools}