Accepting request 784164 from devel:languages:python

- Fix build without python2

- 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/784164
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-websocket-client?expand=0&rev=13
This commit is contained in:
Dominique Leuenberger 2020-03-12 21:58:57 +00:00 committed by Git OBS Bridge
commit abeb209393
4 changed files with 26 additions and 7 deletions

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Thu Mar 12 07:49:24 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Fix build without python2
-------------------------------------------------------------------
Thu Feb 6 13:48:44 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- 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 <tchvatal@suse.com>

View File

@ -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
@ -23,17 +23,16 @@
%else
%define ssl_match_hostname python-backports.ssl_match_hostname
%endif
%bcond_without python2
Name: python-websocket-client
Version: 0.56.0
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

View File

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

View File

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