Accepting request 1093219 from devel:languages:python:flask
- Update to 3.1.0:
* Don't return the default locale twice.
* Fix tests breaking against babel 12.2, which changed localized times to
use non-breaking-spaces.
* Relax version requirements for dependencies.
* Dropped support for end-of-life Python 3.5 and 3.6, added tests for 3.10
and 3.11.
* Jinja version 3 or greater is now required.
* Removed Babel._date_formats, use the public Babel.date_formats instead.
* list_translations() always returns the default locale, even if it does
not exist.
* Babel.locale_selector and Babel.timezone_selector no longer exist.
* Most configuration options can be passed directly through init_app().
OBS-URL: https://build.opensuse.org/request/show/1093219
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask-Babel?expand=0&rev=6
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f9faf45cdb2e1a32ea2ec14403587d4295108f35017a7821a2b1acb8cfd9257d
|
||||
size 19588
|
||||
3
Flask-Babel-3.1.0.tar.gz
Normal file
3
Flask-Babel-3.1.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4c762d4a7d58ef33c59a3fae5c2d101b9d7c9053114ab5e705877a7dd3a02eca
|
||||
size 20625
|
||||
@@ -1,3 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 15 07:04:22 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Update to 3.1.0:
|
||||
* Don't return the default locale twice.
|
||||
* Fix tests breaking against babel 12.2, which changed localized times to
|
||||
use non-breaking-spaces.
|
||||
* Relax version requirements for dependencies.
|
||||
* Dropped support for end-of-life Python 3.5 and 3.6, added tests for 3.10
|
||||
and 3.11.
|
||||
* Jinja version 3 or greater is now required.
|
||||
* Removed Babel._date_formats, use the public Babel.date_formats instead.
|
||||
* list_translations() always returns the default locale, even if it does
|
||||
not exist.
|
||||
* Babel.locale_selector and Babel.timezone_selector no longer exist.
|
||||
* Most configuration options can be passed directly through init_app().
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 5 16:08:27 UTC 2020 - Arun Persaud <arun@gmx.de>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-Flask-Babel
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2014 Dr. Axel Braun
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -17,29 +17,28 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-Flask-Babel
|
||||
Version: 2.0.0
|
||||
Version: 3.1.0
|
||||
Release: 0
|
||||
Summary: i18n and l10n support for Flask
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/python-babel/flask-babel
|
||||
Source: https://files.pythonhosted.org/packages/source/F/Flask-Babel/Flask-Babel-%{version}.tar.gz
|
||||
BuildRequires: %{python_module Babel >= 2.3}
|
||||
BuildRequires: %{python_module Flask}
|
||||
BuildRequires: %{python_module Jinja2 >= 2.5}
|
||||
Source: https://github.com/python-babel/flask-babel/archive/refs/tags/v%{version}.tar.gz#/Flask-Babel-%{version}.tar.gz
|
||||
BuildRequires: %{python_module Babel >= 2.12}
|
||||
BuildRequires: %{python_module Flask >= 2.0}
|
||||
BuildRequires: %{python_module Jinja2 >= 3.1}
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module poetry}
|
||||
BuildRequires: %{python_module pytest-mock}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module pytz}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module pytz >= 2022.7}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-Babel >= 2.3
|
||||
Requires: python-Flask
|
||||
Requires: python-Jinja2 >= 2.5
|
||||
Requires: python-pytz
|
||||
Requires: python-Babel >= 2.12
|
||||
Requires: python-Flask >= 2.0
|
||||
Requires: python-Jinja2 >= 3.1
|
||||
Requires: python-pytz >= 2022.7
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@@ -48,13 +47,13 @@ This module implements i18n and l10n support for Flask. It is based on
|
||||
the Python babel module as well as pytz.
|
||||
|
||||
%prep
|
||||
%setup -q -n Flask-Babel-%{version}
|
||||
%autosetup -p1 -n flask-babel-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@@ -63,8 +62,7 @@ the Python babel module as well as pytz.
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%dir %{python_sitelib}/flask_babel
|
||||
%{python_sitelib}/flask_babel/*
|
||||
%{python_sitelib}/Flask_Babel-%{version}-py*.egg-info
|
||||
%{python_sitelib}/flask_babel
|
||||
%{python_sitelib}/flask_babel-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user