Accepting request 717111 from home:seanmarlow:branches:devel:languages:python:flask

- Update to v3.20.0 (2019-07-17)
  + Initial release.

OBS-URL: https://build.opensuse.org/request/show/717111
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-flask-jwt-extended?expand=0&rev=1
This commit is contained in:
Petr Cervinka 2019-07-19 18:15:01 +00:00 committed by Git OBS Bridge
commit 4cdc1d7d53
5 changed files with 108 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:062d2cac64f5c02fd689105b99390b2490e550a1c0994cb9d781454ec31bd50c
size 30614

View File

@ -0,0 +1,5 @@
-------------------------------------------------------------------
Wed Jul 17 13:57:14 UTC 2019 - Sean Marlow <sean.marlow@suse.com>
- Update to v3.20.0 (2019-07-17)
+ Initial release.

View File

@ -0,0 +1,76 @@
#
# spec file for package python-flask-jwt-extended
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python-flask-jwt-extended
Version: 3.20.0
Release: 0
Summary: An open source Flask extension that provides JWT support
License: MIT
Group: Development/Languages/Python
Url: https://github.com/vimalloc/flask-jwt-extended
Source: https://files.pythonhosted.org/packages/source/f/flask-jwt-extended/Flask-JWT-Extended-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: %{python_module Flask}
BuildRequires: %{python_module python-dateutil}
BuildRequires: %{python_module Werkzeug >= 0.14}
BuildRequires: %{python_module PyJWT >= 1.6.4}
BuildRequires: %{python_module six}
BuildRequires: %{python_module pytest}
Requires: python-Flask
Requires: python-Werkzeug >= 0.14
Requires: python-PyJWT >= 1.6.4
Requires: python-six
BuildArch: noarch
%python_subpackages
%description
Flask-JWT-Extended not only adds support for using JSON Web Tokens
(JWT) to Flask for protecting views, but also many helpful
(and optional) features built in to make working with JSON
Web Tokens easier. These include:
- Support for adding custom claims to JSON Web Tokens
- Custom claims validation on received tokens
- Creating tokens from complex objects or complex object from received tokens
- Refresh tokens
- Token freshness and separate view decorators to only allow fresh tokens
- Token revoking/blacklisting
- Storing tokens in cookies and CSRF protection
%prep
%setup -q -n Flask-JWT-Extended-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}/flask_jwt_extended
%check
%pytest
%files %{python_files}
%license LICENSE
%doc README.md
%{python_sitelib}/*
%changelog