From efa3eefa362785574eede3577266780ee17183d8cd4119536952ed4e143885cf Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 9 Mar 2020 20:29:32 +0000 Subject: [PATCH 1/2] Accepting request 770597 from home:mcalabkova:branches:devel:languages:python - update to 0.57.0 * wsdump: Fix --headers option * Fix getting 400 bad request with long proxy authorization string * Create dummy `ssl` object * Show compressed text messages in wsdump.py * Expose http connection header to user * fix the compatible issue with gevent+dnspython * _handshake: hasattr checks on six before accessing the values OBS-URL: https://build.opensuse.org/request/show/770597 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-websocket-client?expand=0&rev=35 --- python-websocket-client.changes | 12 ++++++++++++ python-websocket-client.spec | 4 ++-- websocket_client-0.56.0.tar.gz | 3 --- websocket_client-0.57.0.tar.gz | 3 +++ 4 files changed, 17 insertions(+), 5 deletions(-) delete mode 100644 websocket_client-0.56.0.tar.gz create mode 100644 websocket_client-0.57.0.tar.gz diff --git a/python-websocket-client.changes b/python-websocket-client.changes index 6eac1cf..69e59f5 100644 --- a/python-websocket-client.changes +++ b/python-websocket-client.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Thu Feb 6 13:48:44 UTC 2020 - Marketa Calabkova + +- update to 0.57.0 + * wsdump: Fix --headers option + * Fix getting 400 bad request with long proxy authorization string + * Create dummy `ssl` object + * Show compressed text messages in wsdump.py + * Expose http connection header to user + * fix the compatible issue with gevent+dnspython + * _handshake: hasattr checks on six before accessing the values + ------------------------------------------------------------------- Tue Apr 16 11:14:09 UTC 2019 - Tomáš Chvátal diff --git a/python-websocket-client.spec b/python-websocket-client.spec index db7c43a..106856e 100644 --- a/python-websocket-client.spec +++ b/python-websocket-client.spec @@ -1,7 +1,7 @@ # # spec file for package python-websocket-client # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,7 @@ %define ssl_match_hostname python-backports.ssl_match_hostname %endif Name: python-websocket-client -Version: 0.56.0 +Version: 0.57.0 Release: 0 Summary: WebSocket client implementation License: LGPL-2.1-only diff --git a/websocket_client-0.56.0.tar.gz b/websocket_client-0.56.0.tar.gz deleted file mode 100644 index 34177d6..0000000 --- a/websocket_client-0.56.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1fd5520878b68b84b5748bb30e592b10d0a91529d5383f74f4964e72b297fd3a -size 36951 diff --git a/websocket_client-0.57.0.tar.gz b/websocket_client-0.57.0.tar.gz new file mode 100644 index 0000000..3318b77 --- /dev/null +++ b/websocket_client-0.57.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d735b91d6d1692a6a181f2a8c9e0238e5f6373356f561bb9dc4c7af36f452010 +size 39333 From 559035008fba3a3a000e03b0e67650fee5d4522ea7523a36f06152c34e4e9abb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 12 Mar 2020 07:49:38 +0000 Subject: [PATCH 2/2] - Fix build without python2 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-websocket-client?expand=0&rev=36 --- python-websocket-client.changes | 5 +++++ python-websocket-client.spec | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/python-websocket-client.changes b/python-websocket-client.changes index 69e59f5..74251bb 100644 --- a/python-websocket-client.changes +++ b/python-websocket-client.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 12 07:49:24 UTC 2020 - Tomáš Chvátal + +- Fix build without python2 + ------------------------------------------------------------------- Thu Feb 6 13:48:44 UTC 2020 - Marketa Calabkova diff --git a/python-websocket-client.spec b/python-websocket-client.spec index 106856e..ff4478e 100644 --- a/python-websocket-client.spec +++ b/python-websocket-client.spec @@ -23,17 +23,16 @@ %else %define ssl_match_hostname python-backports.ssl_match_hostname %endif +%bcond_without python2 Name: python-websocket-client Version: 0.57.0 Release: 0 Summary: WebSocket client implementation License: LGPL-2.1-only -Group: Development/Languages/Python URL: https://github.com/liris/websocket-client/releases Source0: https://files.pythonhosted.org/packages/source/w/websocket_client/websocket_client-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} -BuildRequires: %{ssl_match_hostname} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-six @@ -42,6 +41,9 @@ Requires(postun): update-alternatives Provides: python-websocket-client-test = %{version} Obsoletes: python-websocket-client-test < %{version} BuildArch: noarch +%if %{with python2} +BuildRequires: %{ssl_match_hostname} +%endif %ifpython2 Requires: %{ssl_match_hostname} %endif