diff --git a/.gitignore b/.gitignore index a4f3663..7e9466a 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /websockets-3.2.tar.gz /websockets-3.3.tar.gz /websockets-3.4.tar.gz +/websockets-4.0.1.tar.gz diff --git a/python-websockets.spec b/python-websockets.spec index 56ecc3f..a69d054 100644 --- a/python-websockets.spec +++ b/python-websockets.spec @@ -1,13 +1,13 @@ %global pypi_name websockets Name: python-%{pypi_name} -Version: 3.4 -Release: 2%{?dist} +Version: 4.0.1 +Release: 1%{?dist} Summary: An implementation of the WebSocket Protocol for python with asyncio License: BSD URL: https://pypi.python.org/pypi/%{pypi_name} -Source0: https://pypi.python.org/packages/4a/e8/acf36f117deeb18c0b6679624fa11b57b0876044f0ce3f34024c3a7b2d95/websockets-3.4.tar.gz +Source0: https://files.pythonhosted.org/packages/b6/12/6194aac840c65253e45a38912e318f9ac548f9ba86d75bdb8fe66841b335/websockets-4.0.1.tar.gz # Not reliable on koji on some arch (eg arm and ppc) Patch0: remove-tests-with-timeouts.patch @@ -46,7 +46,7 @@ It requires Python ≥ 3.4 or Python 3.3 with the asyncio module. %setup -qn %{pypi_name}-%{version} # Remove upstream's egg-info rm -rf %{pypi_name}.egg-info -%patch0 -p1 +# %%patch0 -p1 %build @@ -55,10 +55,12 @@ rm -rf %{pypi_name}.egg-info %install %py3_install +# Remove installed C file +rm %{buildroot}/%{python3_sitearch}/%{pypi_name}/speedups.c %check -%{__python3} setup.py test +WEBSOCKETS_TESTS_TIMEOUT_FACTOR=20 %{__python3} setup.py test %files -n python3-%{pypi_name} @@ -69,6 +71,9 @@ rm -rf %{pypi_name}.egg-info %changelog +* Mon Nov 06 2017 Julien Enselme - 4.0.1-1 +- Update to 4.0.1 + * Mon Aug 21 2017 Julien Enselme - 3.4-2 - Remove tests with timeouts diff --git a/sources b/sources index 14b0f5a..f5c3b09 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (websockets-3.4.tar.gz) = 24aacdbd2c9c1bad877d4bf37e45d7a32534d9a33a2bfea27dd8ddb16734dbd685317250c6564b237b86d75bc692fb798c61a7bb9391e693fbe1c00335fd472d +SHA512 (websockets-4.0.1.tar.gz) = a60a453f33f1005c7ec7cee10f6ba6cca18628306de51872ad5a910f12f39831049f3a67ff4c3cc62efce47ce030b9e9d075d4418e8da2dcc594b8824ce21dfb