From 64930de09fa7dab5b1a457d2bc163e01df6f98226288f1f86ec6010057e4a527 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 11 Apr 2019 13:13:08 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ws4py?expand=0&rev=6 --- python-ws4py.changes | 2 -- python-ws4py.spec | 7 +++---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/python-ws4py.changes b/python-ws4py.changes index bb6f73d..cc4181e 100644 --- a/python-ws4py.changes +++ b/python-ws4py.changes @@ -8,8 +8,6 @@ Thu Apr 11 12:09:24 UTC 2019 - Marketa Calabkova * 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 diff --git a/python-ws4py.spec b/python-ws4py.spec index 3c29b9c..c33d2c4 100644 --- a/python-ws4py.spec +++ b/python-ws4py.spec @@ -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}