Accepting request 692329 from home:cbosdonnat:branches:devel:languages:python

- Fix PyJWT / jwcrypto dependency problem (boo#1131024)

OBS-URL: https://build.opensuse.org/request/show/692329
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-websockify?expand=0&rev=36
This commit is contained in:
Dirk Mueller 2019-04-08 19:19:40 +00:00 committed by Git OBS Bridge
parent 63bbab0f72
commit 6c3b706b91
2 changed files with 5 additions and 25 deletions

View File

@ -3,31 +3,6 @@ From: UXabre <arend.lapere@gmail.com>
Date: Fri, 21 Dec 2018 03:21:29 -0500
Subject: [PATCH] Added JWT tokens capability
---
setup.py | 2 +-
tests/jwt.secret | 1 +
tests/jwt_rsa | 27 ++++++++++++++++++
tests/jwt_rsa.pub | 1 +
tests/test_websocketproxy.py | 54 ++++++++++++++++++++++++++++++++++++
websockify/token_plugins.py | 16 +++++++++++
6 files changed, 100 insertions(+), 1 deletion(-)
create mode 100644 tests/jwt.secret
create mode 100644 tests/jwt_rsa
create mode 100644 tests/jwt_rsa.pub
Index: websockify-0.8.0/setup.py
===================================================================
--- websockify-0.8.0.orig/setup.py
+++ websockify-0.8.0/setup.py
@@ -34,7 +34,7 @@ setup(name=name,
packages=['websockify'],
include_package_data=True,
- install_requires=['numpy'],
+ install_requires=['numpy', 'PyJWT', 'cryptography'],
zip_safe=False,
entry_points={
'console_scripts': [
Index: websockify-0.8.0/websockify/token_plugins.py
===================================================================
--- websockify-0.8.0.orig/websockify/token_plugins.py

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Apr 8 14:33:03 UTC 2019 - Cédric Bosdonnat <cbosdonnat@suse.com>
- Fix PyJWT / jwcrypto dependency problem (boo#1131024)
-------------------------------------------------------------------
Wed Feb 13 09:25:56 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>