forked from pool/python-ws4py
This commit is contained in:
committed by
Git OBS Bridge
parent
4058aa1d21
commit
64930de09f
@@ -8,8 +8,6 @@ Thu Apr 11 12:09:24 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
* exclude certain headers when requested
|
||||
* Disable build for Python 3.4
|
||||
- launch tests using multibuild
|
||||
- added patch ws4py-no-cherrypy-test.patch to enable tests also on
|
||||
Python2.7 (since CherryPy does not exist for Python2)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 4 12:56:13 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||
|
@@ -33,7 +33,6 @@ License: BSD-2-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/Lawouach/WebSocket-for-Python
|
||||
Source: https://files.pythonhosted.org/packages/source/w/ws4py/ws4py-%{version}.tar.gz
|
||||
Patch0: ws4py-no-cherrypy-test.patch
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -54,7 +53,8 @@ defined in RFC 6455.
|
||||
|
||||
%prep
|
||||
%setup -q -n ws4py-%{version}
|
||||
%patch0 -p1
|
||||
# CherryPy is python3 only to ease the testing just skip it here
|
||||
rm test/test_cherrypy.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -67,8 +67,7 @@ defined in RFC 6455.
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
py.test -v
|
||||
python2.7 -m pytest -v
|
||||
%pytest
|
||||
%endif
|
||||
|
||||
%if !%{with test}
|
||||
|
Reference in New Issue
Block a user