- update to 2.14.0:

* ``Locale.number_symbols`` will now have first-level keys for
    each numbering system.
  * Babel no longer directly depends on either ``distutils`` or
    ``setuptools``; if you had been using the Babel setuptools
    command extensions, you would need explicitly depend on
    ``setuptools``
  * CLDR/Numbers: Add support of local numbering systems for
    number symbols
  * CLDR: Upgrade to CLDR 43
  * Frontend: Allow last_translator to be passed as an option to
    extract_message
  * Frontend: Decouple `pybabel` CLI frontend from
    distutils/setuptools
  * Numbers: Improve parsing of malformed decimals

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Babel?expand=0&rev=81
This commit is contained in:
Dirk Mueller 2023-12-27 09:40:55 +00:00 committed by Git OBS Bridge
parent cc4d60351a
commit 8f5a9956e8
4 changed files with 28 additions and 8 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:33e0952d7dd6374af8dbf6768cc4ddf3ccfefc244f9986d4074704f2fbd18900
size 9909844

3
Babel-2.14.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6919867db036398ba21eb5c7a0f6b28ab8cbc3ae7a73a44ebe34ae74a4e7d363
size 10795622

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Wed Dec 27 09:37:51 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 2.14.0:
* ``Locale.number_symbols`` will now have first-level keys for
each numbering system.
* Babel no longer directly depends on either ``distutils`` or
``setuptools``; if you had been using the Babel setuptools
command extensions, you would need explicitly depend on
``setuptools``
* CLDR/Numbers: Add support of local numbering systems for
number symbols
* CLDR: Upgrade to CLDR 43
* Frontend: Allow last_translator to be passed as an option to
extract_message
* Frontend: Decouple `pybabel` CLI frontend from
distutils/setuptools
* Numbers: Improve parsing of malformed decimals
-------------------------------------------------------------------
Thu Dec 14 11:11:50 UTC 2023 - pgajdos@suse.com

View File

@ -26,17 +26,18 @@
%define oldpython python
%{?sle15_python_module_pythons}
Name: python-Babel
Version: 2.13.1
Version: 2.14.0
Release: 0
Summary: Internationalization utilities
License: BSD-3-Clause
URL: https://babel.pocoo.org/
Source: https://files.pythonhosted.org/packages/source/B/Babel/Babel-%{version}.tar.gz
BuildRequires: %{python_module freezegun}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module py >= 1.4.14}
BuildRequires: %{python_module pytest >= 2.3.5}
BuildRequires: %{python_module pytz >= 2015.7}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros >= 20210929
Requires: python-pytz >= 2015.7
@ -65,10 +66,10 @@ A collection of tools for internationalizing Python applications.
%autosetup -p1 -n Babel-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/pybabel
%python_expand %fdupes %{buildroot}%{$python_sitelib}
@ -93,6 +94,6 @@ A collection of tools for internationalizing Python applications.
%doc CHANGES.rst
%python_alternative %{_bindir}/pybabel
%{python_sitelib}/babel
%{python_sitelib}/Babel-%{version}-py%{python_version}.egg-info
%{python_sitelib}/Babel-%{version}.dist-info
%changelog