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:
commit
4cdc1d7d53
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
Flask-JWT-Extended-3.20.0.tar.gz
Normal file
3
Flask-JWT-Extended-3.20.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:062d2cac64f5c02fd689105b99390b2490e550a1c0994cb9d781454ec31bd50c
|
||||
size 30614
|
5
python-flask-jwt-extended.changes
Normal file
5
python-flask-jwt-extended.changes
Normal 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.
|
76
python-flask-jwt-extended.spec
Normal file
76
python-flask-jwt-extended.spec
Normal 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user