Accepting request 989104 from devel:languages:python:flask

- Update to 2.1.3
  * Inline some optional imports that are only used for certain
    CLI commands. #4606
  * Relax type annotation for after_request functions. #4600
  * instance_path for namespace packages uses the path closest to
    the imported submodule. #4610
  * Clearer error message when render_template and render_template_string
    are used outside an application context. #4693
- Add python-Flask-rpmlintrc

OBS-URL: https://build.opensuse.org/request/show/989104
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask?expand=0&rev=31
This commit is contained in:
Richard Brown 2022-07-18 16:32:51 +00:00 committed by Git OBS Bridge
commit 869e297255
5 changed files with 22 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:315ded2ddf8a6281567edb27393010fe3406188bafbfe65a3339d5787d89e477
size 631846

3
Flask-2.1.3.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:15972e5017df0575c3d6c090ba168b6db90259e620ac8d7ea813a396bad5b6cb
size 630206

2
python-Flask-rpmlintrc Normal file
View File

@ -0,0 +1,2 @@
addFilter("files-duplicate /usr/share/doc/packages")
addFilter("version-control-internal-file /usr/share/doc/packages/.*\.gitignore")

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Wed Jul 13 21:18:49 UTC 2022 - Michael Ströder <michael@stroeder.com>
- Update to 2.1.3
* Inline some optional imports that are only used for certain
CLI commands. #4606
* Relax type annotation for after_request functions. #4600
* instance_path for namespace packages uses the path closest to
the imported submodule. #4610
* Clearer error message when render_template and render_template_string
are used outside an application context. #4693
- Add python-Flask-rpmlintrc
-------------------------------------------------------------------
Thu Apr 28 18:49:06 UTC 2022 - Michael Ströder <michael@stroeder.com>

View File

@ -27,13 +27,14 @@
%define skip_python36 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-Flask
Version: 2.1.2
Version: 2.1.3
Release: 0
Summary: A microframework based on Werkzeug, Jinja2 and good intentions
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://flask.palletsprojects.com
Source: https://files.pythonhosted.org/packages/source/F/Flask/Flask-%{version}.tar.gz
Source0: https://files.pythonhosted.org/packages/source/F/Flask/Flask-%{version}.tar.gz
Source1: python-Flask-rpmlintrc
BuildRequires: %{python_module Jinja2 >= 3.0}
BuildRequires: %{python_module Werkzeug >= 2.0}
BuildRequires: %{python_module click >= 8.0.0}
@ -79,7 +80,7 @@ This package contains HTML documentation, including tutorials and API
reference for python-Flask.
%prep
%setup -q -n Flask-%{version}
%autosetup -p1 -n Flask-%{version}
%build
%python_build