Accepting request 799726 from home:apersaud:branches:devel:languages:python:flask

update to latest version

OBS-URL: https://build.opensuse.org/request/show/799726
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask-HTTPAuth?expand=0&rev=10
This commit is contained in:
Petr Cervinka 2020-05-03 20:41:10 +00:00 committed by Git OBS Bridge
parent e8c222b213
commit 1646a3d465
4 changed files with 31 additions and 11 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6ef8b761332e780f9ff74d5f9056c2616f52babc1998b01d9f361a1e439e61b9
size 31466

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:47d62edc33ff16798ed28e06a7387ed10a15f21249c5f61515b41351356a6afc
size 226948

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Sat May 2 19:51:36 UTC 2020 - Arun Persaud <arun@gmx.de>
- specfile:
* update copyright year
* be more specific in %files section
- update to version 4.0.0:
* Return user object from verify callbacks (commit)
* New role authorization support (commit) (thanks gemerden!)
* Add a custom token authorization header option (commit) (thanks
Mohamed Feddad!)
* Support an optional=True argument in login_required decorator
(commit) (thanks Saif Almansoori!)
* Pass HTTP status code to error callback (commit)
* More secure example of basic auth in the documentation (commit)
* Fix broken links in CHANGES.md and changelog template #85 (commit)
(thanks Katie Smith!)
------------------------------------------------------------------- -------------------------------------------------------------------
Tue May 28 07:33:27 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com> Tue May 28 07:33:27 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-Flask-HTTPAuth # spec file for package python-Flask-HTTPAuth
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2020 SUSE LLC
# Copyright (c) 2017 Dr. Axel Braun # Copyright (c) 2017 Dr. Axel Braun
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@ -18,15 +18,14 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define modname Flask-HTTPAuth Name: python-Flask-HTTPAuth
Name: python-%{modname} Version: 4.0.0
Version: 3.3.0
Release: 0 Release: 0
Summary: Basic and Digest HTTP authentication for Flask routes Summary: Basic and Digest HTTP authentication for Flask routes
License: MIT License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
URL: http://github.com/miguelgrinberg/flask-httpauth/ URL: https://github.com/miguelgrinberg/flask-httpauth/
Source: https://files.pythonhosted.org/packages/source/F/Flask-HTTPAuth/%{modname}-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/F/Flask-HTTPAuth/Flask-HTTPAuth-%{version}.tar.gz
BuildRequires: %{python_module Flask} BuildRequires: %{python_module Flask}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
@ -39,7 +38,7 @@ BuildArch: noarch
Simple extension that provides Basic and Digest HTTP authentication for Flask routes. Simple extension that provides Basic and Digest HTTP authentication for Flask routes.
%prep %prep
%setup -q -n %{modname}-%{version} %setup -q -n Flask-HTTPAuth-%{version}
%build %build
@ -55,6 +54,8 @@ Simple extension that provides Basic and Digest HTTP authentication for Flask ro
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE
%doc README.md %doc README.md
%{python_sitelib}/* %{python_sitelib}/flask_httpauth.py*
%{python_sitelib}/Flask_HTTPAuth-%{version}-py*.egg-info
%pycache_only %{python_sitelib}/__pycache__
%changelog %changelog