Update to 4.0.1

epel9
Julien Enselme 7 years ago
parent 3fc7911b8d
commit f820f16f3b

1
.gitignore vendored

@ -5,3 +5,4 @@
/websockets-3.2.tar.gz /websockets-3.2.tar.gz
/websockets-3.3.tar.gz /websockets-3.3.tar.gz
/websockets-3.4.tar.gz /websockets-3.4.tar.gz
/websockets-4.0.1.tar.gz

@ -1,13 +1,13 @@
%global pypi_name websockets %global pypi_name websockets
Name: python-%{pypi_name} Name: python-%{pypi_name}
Version: 3.4 Version: 4.0.1
Release: 2%{?dist} Release: 1%{?dist}
Summary: An implementation of the WebSocket Protocol for python with asyncio Summary: An implementation of the WebSocket Protocol for python with asyncio
License: BSD License: BSD
URL: https://pypi.python.org/pypi/%{pypi_name} 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) # Not reliable on koji on some arch (eg arm and ppc)
Patch0: remove-tests-with-timeouts.patch 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} %setup -qn %{pypi_name}-%{version}
# Remove upstream's egg-info # Remove upstream's egg-info
rm -rf %{pypi_name}.egg-info rm -rf %{pypi_name}.egg-info
%patch0 -p1 # %%patch0 -p1
%build %build
@ -55,10 +55,12 @@ rm -rf %{pypi_name}.egg-info
%install %install
%py3_install %py3_install
# Remove installed C file
rm %{buildroot}/%{python3_sitearch}/%{pypi_name}/speedups.c
%check %check
%{__python3} setup.py test WEBSOCKETS_TESTS_TIMEOUT_FACTOR=20 %{__python3} setup.py test
%files -n python3-%{pypi_name} %files -n python3-%{pypi_name}
@ -69,6 +71,9 @@ rm -rf %{pypi_name}.egg-info
%changelog %changelog
* Mon Nov 06 2017 Julien Enselme <jujens@jujens.eu> - 4.0.1-1
- Update to 4.0.1
* Mon Aug 21 2017 Julien Enselme <jujens@jujens.eu> - 3.4-2 * Mon Aug 21 2017 Julien Enselme <jujens@jujens.eu> - 3.4-2
- Remove tests with timeouts - Remove tests with timeouts

@ -1 +1 @@
SHA512 (websockets-3.4.tar.gz) = 24aacdbd2c9c1bad877d4bf37e45d7a32534d9a33a2bfea27dd8ddb16734dbd685317250c6564b237b86d75bc692fb798c61a7bb9391e693fbe1c00335fd472d SHA512 (websockets-4.0.1.tar.gz) = a60a453f33f1005c7ec7cee10f6ba6cca18628306de51872ad5a910f12f39831049f3a67ff4c3cc62efce47ce030b9e9d075d4418e8da2dcc594b8824ce21dfb

Loading…
Cancel
Save