forked from pool/python-websocket-client
Accepting request 567312 from home:sebix:branches:devel:languages:python
- update to version 0.46.0 (shortened): - fixed invalid character (#379) - update to version 0.45.0 (shortened): - change license to LGP v2.1 - allow reuse of WebsocketApp.run_forever (#365) - Parse close frame response correctly when reason present (#354) - Wrap socket.gaierror with subclass of WebsocketException (#352) - Resolve a proxy issue and a connection error (#345) - Allow empty Host header value (#369) - Fix undefined variable (#347) - fix: getting a value with the key 'ca_certs' in sslopt dict (#326) - Add use_system_cabundle.patch to use systems ca bundle file by default (bnc#1076519) OBS-URL: https://build.opensuse.org/request/show/567312 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-websocket-client?expand=0&rev=25
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-websocket-client
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 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
|
||||
@@ -26,13 +26,15 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without test
|
||||
Name: python-websocket-client
|
||||
Version: 0.44.0
|
||||
Version: 0.46.0
|
||||
Release: 0
|
||||
Summary: WebSocket client implementation
|
||||
License: LGPL-3.0
|
||||
License: LGPL-2.1
|
||||
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
|
||||
# PATCH-FIX-OPENSUSE use_system_cabundle.patch bnc#1076519
|
||||
Patch0: use_system_cabundle.patch
|
||||
BuildRequires: %ssl_match_hostname
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
@@ -59,6 +61,7 @@ Websocket-client supports only hybi-13.
|
||||
|
||||
%prep
|
||||
%setup -q -n websocket_client-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -67,9 +70,6 @@ Websocket-client supports only hybi-13.
|
||||
%python_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/wsdump.py
|
||||
|
||||
# Use the system certs
|
||||
%python_expand rm %{buildroot}/%{$python_sitelib}/websocket/cacert.pem
|
||||
|
||||
%python_expand %fdupes %{buildroot}/%{$python_sitelib}
|
||||
|
||||
%if %{with test}
|
||||
|
||||
Reference in New Issue
Block a user