From fd6d315e338601b8e43be6570ccbac8e8e261c61e5985aaa20e5a92f1f504066 Mon Sep 17 00:00:00 2001 From: John Vandenberg Date: Fri, 23 Jul 2021 09:21:12 +0000 Subject: [PATCH] Accepting request 907616 from home:apersaud:branches:devel:languages:python:flask update to latest version OBS-URL: https://build.opensuse.org/request/show/907616 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask-HTTPAuth?expand=0&rev=16 --- Flask-HTTPAuth-4.2.0.tar.gz | 3 --- Flask-HTTPAuth-4.4.0.tar.gz | 3 +++ python-Flask-HTTPAuth.changes | 22 ++++++++++++++++++++++ python-Flask-HTTPAuth.spec | 6 ++++-- 4 files changed, 29 insertions(+), 5 deletions(-) delete mode 100644 Flask-HTTPAuth-4.2.0.tar.gz create mode 100644 Flask-HTTPAuth-4.4.0.tar.gz diff --git a/Flask-HTTPAuth-4.2.0.tar.gz b/Flask-HTTPAuth-4.2.0.tar.gz deleted file mode 100644 index b010136..0000000 --- a/Flask-HTTPAuth-4.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8c7e49e53ce7dc14e66fe39b9334e4b7ceb8d0b99a6ba1c3562bb528ef9da84a -size 227354 diff --git a/Flask-HTTPAuth-4.4.0.tar.gz b/Flask-HTTPAuth-4.4.0.tar.gz new file mode 100644 index 0000000..dd877f2 --- /dev/null +++ b/Flask-HTTPAuth-4.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bcaaa7a35a3cba0b2eafd4f113b3016bf70eb78087456d96484c3c18928b813a +size 227787 diff --git a/python-Flask-HTTPAuth.changes b/python-Flask-HTTPAuth.changes index 9e31b3e..07acd7c 100644 --- a/python-Flask-HTTPAuth.changes +++ b/python-Flask-HTTPAuth.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Sun Jul 4 00:41:02 UTC 2021 - Arun Persaud + +- specfile: + * update copyright year + * require importlib-metadata + * skip python 2 + +- update to version 4.4.0: + * Replace safe_str_cmp with hmac.compare_digest to avoid a + deprecation warning from Werkzeug #126 (commit) (thanks Federico + Martinez!) + * Drop Python 2 support (commit) + +- changes from version 4.3.0 : + * Support token auth with custom header in MultiAuth class #125 + (commit) + * Catch UnicodeDecodeError when passing malformed data in + authorization header #122 (commit) (thanks Bastian Raschke!) + * Fixes typo #116 (commit) (thanks Renato Oliveira!) + * Move builds to GitHub actions (commit) + ------------------------------------------------------------------- Thu Nov 26 17:46:21 UTC 2020 - Arun Persaud diff --git a/python-Flask-HTTPAuth.spec b/python-Flask-HTTPAuth.spec index 85513a8..ad715f8 100644 --- a/python-Flask-HTTPAuth.spec +++ b/python-Flask-HTTPAuth.spec @@ -1,7 +1,7 @@ # # spec file for package python-Flask-HTTPAuth # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # Copyright (c) 2017 Dr. Axel Braun # # All modifications and additions to the file contributed by third parties @@ -18,8 +18,9 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-Flask-HTTPAuth -Version: 4.2.0 +Version: 4.4.0 Release: 0 Summary: Basic and Digest HTTP authentication for Flask routes License: MIT @@ -27,6 +28,7 @@ Group: Development/Languages/Python URL: https://github.com/miguelgrinberg/flask-httpauth/ Source: https://files.pythonhosted.org/packages/source/F/Flask-HTTPAuth/Flask-HTTPAuth-%{version}.tar.gz BuildRequires: %{python_module Flask} +BuildRequires: %{python_module importlib-metadata} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros