14
0

Accepting request 307131 from home:benoit_monin:branches:devel:languages:python

- update to version 0.30.0
- drop fixTestTimeoutIssue.patch: fixed upstream
- point the source URL to pypi
- add new dependency python-backports.ssl_match_hostname
- fix archive name when calling %setup

OBS-URL: https://build.opensuse.org/request/show/307131
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-websocket-client?expand=0&rev=6
This commit is contained in:
2015-05-14 13:52:07 +00:00
committed by Git OBS Bridge
parent ed3b39c94e
commit 29344cfe5a
5 changed files with 50 additions and 44 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-websocket-client
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 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
@@ -17,17 +17,18 @@
Name: python-websocket-client
Version: 0.23.0
Version: 0.30.0
Release: 0
Summary: WebSocket client implementation
License: LGPL-2.1
Group: Development/Languages/Python
Url: https://github.com/liris/websocket-client/releases
Source0: websocket-client-%{version}.tar.gz
Patch0: fixTestTimeoutIssue.patch
Source0: https://pypi.python.org/packages/source/w/websocket-client/websocket_client-%{version}.tar.gz
BuildRequires: python-backports.ssl_match_hostname
BuildRequires: python-setuptools
BuildRequires: python-six
Requires: python
Requires: python-backports.ssl_match_hostname
Requires: python-six
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
@@ -53,8 +54,7 @@ Requires: python-websocket-client = %{version}
Unit tests for websocket-client
%prep
%setup -q -n websocket-client-%{version}
%patch0
%setup -q -n websocket_client-%{version}
%build
python setup.py build