14
0

- Update to 7.0:

* Various fixes
  * Repository layout changes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-websockets?expand=0&rev=13
This commit is contained in:
Tomáš Chvátal
2019-04-16 11:12:33 +00:00
committed by Git OBS Bridge
parent 591e075f50
commit 8dfd9c5d56
4 changed files with 14 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-websockets
#
# 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
@@ -19,13 +19,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-websockets
Version: 6.0
Version: 7.0
Release: 0
Summary: An implementation of the WebSocket Protocol (RFC 6455)
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/aaugustin/websockets
Source: https://files.pythonhosted.org/packages/source/w/websockets/websockets-%{version}.tar.gz
Source: https://github.com/aaugustin/websockets/archive/%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -56,7 +56,7 @@ export CFLAGS="%{optflags}"
%check
# Test execution speed depends on BS load and architecture, relax
export WEBSOCKETS_TESTS_TIMEOUT_FACTOR=5
%python_exec -m unittest
%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python -m unittest
%files %{python_files}
%license LICENSE