forked from pool/python-Babel
Compare commits
6 Commits
Author | SHA256 | Date | |
---|---|---|---|
3472c1bc2b | |||
7c00f68782 | |||
445957922a | |||
de68bc15ca | |||
ec422d58e8 | |||
3f6cb80c2d |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:8daf0e265d05768bc6c7a314cf1321e9a123afc328cc635c18622a2f30a04413
|
|
||||||
size 9390000
|
|
BIN
babel-2.17.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
babel-2.17.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,91 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 3 13:38:56 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 2.17.0:
|
||||||
|
* CLDR: Babel now uses CLDR 46, by @tomasr8 in :gh:`1145`
|
||||||
|
* Dates: Allow specifying an explicit format in
|
||||||
|
parse_date/parse_time by @tomasr8 in :gh:`1131`
|
||||||
|
* Dates: More alternate characters are now supported by
|
||||||
|
format_skeleton. By @tomasr8 in :gh:`1122`
|
||||||
|
* Dates: Support short and narrow formats for format_timedelta
|
||||||
|
when using add_direction, by @akx in :gh:`1163`
|
||||||
|
* Messages: .po files now enclose white spaces in filenames
|
||||||
|
like GNU gettext does. By @Dunedan in :gh:`1105`, and
|
||||||
|
@tomasr8 in :gh:`1120`
|
||||||
|
* Messages: Initial support for Message.python_brace_format, by
|
||||||
|
@tomasr8 in :gh:`1169`
|
||||||
|
* Numbers: LC_MONETARY is now preferred when formatting
|
||||||
|
currencies, by @akx in :gh:`1173`
|
||||||
|
* Dates: Make seconds optional in parse_time time formats by
|
||||||
|
@tomasr8 in :gh:`1141`
|
||||||
|
* Dates: Replace str.index with str.find by @tomasr8 in
|
||||||
|
:gh:`1130`
|
||||||
|
* Dates: Strip extra leading slashes in /etc/localtime by @akx
|
||||||
|
in :gh:`1165`
|
||||||
|
* Dates: Week numbering and formatting of dates with week
|
||||||
|
numbers was repaired by @jun66j5 in :gh:`1179`
|
||||||
|
* General: Improve handling for locale=None by @akx in
|
||||||
|
:gh:`1164`
|
||||||
|
* General: Remove redundant assignment in Catalog.__setitem__
|
||||||
|
by @tomasr8 in :gh:`1167`
|
||||||
|
* Messages: Fix extracted lineno with nested calls, by
|
||||||
|
@dylankiss in :gh:`1126`
|
||||||
|
* Messages: Fix of list index out of range when translations is
|
||||||
|
empty, by @gabe-sherman in :gh:`1135`
|
||||||
|
* Messages: Fix the way obsolete messages are stored by
|
||||||
|
@tomasr8 in :gh:`1132`
|
||||||
|
* Messages: Simplify read_mo logic regarding catalog.charset by
|
||||||
|
@tomasr8 in :gh:`1148`
|
||||||
|
* Messages: Use the first matching method & options, rather
|
||||||
|
than first matching method & last options, by @jpmckinney in
|
||||||
|
:gh:`1121`
|
||||||
|
* Dates: Fix deprecation warnings for datetime.utcnow() by
|
||||||
|
@tomasr8 in :gh:`1119`
|
||||||
|
* Docs: Adjust docs/conf.py to add compatibility with sphinx 8
|
||||||
|
by @hrnciar in :gh:`1155`
|
||||||
|
* General: Import Literal from the typing module by @tomasr8 in
|
||||||
|
:gh:`1175`
|
||||||
|
* General: Replace OrderedDict with just dict by @tomasr8 in
|
||||||
|
:gh:`1149`
|
||||||
|
* Messages: Mark wraptext deprecated; use TextWrapper directly
|
||||||
|
in write_po by @akx in :gh:`1140`
|
||||||
|
* Add tzdata as dev dependency and sync with tox.ini by
|
||||||
|
@wandrew004 in :gh:`1159`
|
||||||
|
* Duplicate test code was deleted by @mattdiaz007 in :gh:`1138`
|
||||||
|
* Increase test coverage of the python_format checker by
|
||||||
|
@tomasr8 in :gh:`1176`
|
||||||
|
* Small cleanups by @akx in :gh:`1160`, :gh:`1166`, :gh:`1170`
|
||||||
|
and :gh:`1172`
|
||||||
|
* Update CI to use python 3.13 and Ubuntu 24.04 by @tomasr8 in
|
||||||
|
:gh:`1153`
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 17 04:19:37 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Clean up {Build,}Requires to match reality.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 7 10:38:16 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 2.16.0
|
||||||
|
* CLDR: Upgrade to CLDR 45
|
||||||
|
* Lists: Support list format fallbacks
|
||||||
|
* Messages: Initial support for reading mapping configuration as TOML
|
||||||
|
* CLDR: Do not allow substituting alternates or drafts in derived locales
|
||||||
|
* Core: Allow falling back to modifier-less locale data
|
||||||
|
* Core: Allow use of importlib.metadata for finding entrypoints
|
||||||
|
* Dates: Avoid crashing on importing localtime when TZ is malformed
|
||||||
|
* Messages: Allow parsing .po files that have an extant but empty Language header
|
||||||
|
* Messages: Fix ``--ignore-dirs`` being incorrectly read
|
||||||
|
* Messages: Make pgettext search plurals when translation is not found
|
||||||
|
* Replace deprecated `ast.Str` with `ast.Constant`
|
||||||
|
* CI fixes
|
||||||
|
* Test on Python 3.13 beta releases
|
||||||
|
* Normalize package name to lower-case in setup.py
|
||||||
|
* Add a mention to the docs that `format_skeleton(..., fuzzy=True)` may raise
|
||||||
|
* Two hyperlinks (to CLDR) and some typos
|
||||||
|
- Adjust filename for dist file in %files section
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jul 15 11:10:55 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
Mon Jul 15 11:10:55 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-Babel
|
# spec file for package python-Babel
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -26,21 +26,20 @@
|
|||||||
%define oldpython python
|
%define oldpython python
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-Babel
|
Name: python-Babel
|
||||||
Version: 2.15.0
|
Version: 2.17.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Internationalization utilities
|
Summary: Internationalization utilities
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://babel.pocoo.org/
|
URL: https://babel.pocoo.org/
|
||||||
Source: https://files.pythonhosted.org/packages/source/b/babel/babel-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/b/babel/babel-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module freezegun}
|
BuildRequires: %{python_module freezegun >= 1.0}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module py >= 1.4.14}
|
BuildRequires: %{python_module pytest >= 6.0}
|
||||||
BuildRequires: %{python_module pytest >= 2.3.5}
|
BuildRequires: %{python_module tzdata}
|
||||||
BuildRequires: %{python_module pytz >= 2015.7}
|
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros >= 20210929
|
BuildRequires: python-rpm-macros >= 20210929
|
||||||
Requires: python-pytz >= 2015.7
|
Requires: python-tzdata
|
||||||
%if %{with libalternatives}
|
%if %{with libalternatives}
|
||||||
Requires: alts
|
Requires: alts
|
||||||
BuildRequires: alts
|
BuildRequires: alts
|
||||||
@@ -94,6 +93,6 @@ A collection of tools for internationalizing Python applications.
|
|||||||
%doc CHANGES.rst
|
%doc CHANGES.rst
|
||||||
%python_alternative %{_bindir}/pybabel
|
%python_alternative %{_bindir}/pybabel
|
||||||
%{python_sitelib}/babel
|
%{python_sitelib}/babel
|
||||||
%{python_sitelib}/Babel-%{version}.dist-info
|
%{python_sitelib}/babel-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user