forked from pool/python-websocket-client
- Update to 0.54.0:
* many fixes all around, see ChangeLog file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-websocket-client?expand=0&rev=30
This commit is contained in:
committed by
Git OBS Bridge
parent
e61fc88665
commit
4d6c6ab3e0
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-websocket-client
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# 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
|
||||
@@ -23,17 +23,14 @@
|
||||
%else
|
||||
%define ssl_match_hostname python-backports.ssl_match_hostname
|
||||
%endif
|
||||
%bcond_without test
|
||||
Name: python-websocket-client
|
||||
Version: 0.46.0
|
||||
Version: 0.54.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
|
||||
# PATCH-FIX-OPENSUSE use_system_cabundle.patch bnc#1076519
|
||||
Patch0: use_system_cabundle.patch
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: %{ssl_match_hostname}
|
||||
@@ -58,21 +55,17 @@ Websocket-client supports only hybi-13.
|
||||
|
||||
%prep
|
||||
%setup -q -n websocket_client-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}/%{$python_sitelib}
|
||||
%python_clone -a %{buildroot}%{_bindir}/wsdump.py
|
||||
|
||||
%python_expand %fdupes %{buildroot}/%{$python_sitelib}
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
%python_exec websocket/tests/test_websocket.py
|
||||
%endif
|
||||
|
||||
%post
|
||||
%python_install_alternative wsdump.py
|
||||
@@ -82,7 +75,7 @@ Websocket-client supports only hybi-13.
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%doc README.rst ChangeLog
|
||||
%python_alternative %{_bindir}/wsdump.py
|
||||
%{python_sitelib}/websocket/
|
||||
%{python_sitelib}/websocket_client-%{version}-py*.egg-info
|
||||
|
||||
Reference in New Issue
Block a user