2015-11-06 15:55:09 +00:00
|
|
|
|
%global pypi_name websockets
|
|
|
|
|
|
|
|
|
|
Name: python-%{pypi_name}
|
2020-07-18 12:36:38 +00:00
|
|
|
|
Version: 8.1
|
2020-07-29 04:37:09 +00:00
|
|
|
|
Release: 2%{?dist}
|
2015-11-06 15:55:09 +00:00
|
|
|
|
Summary: An implementation of the WebSocket Protocol for python with asyncio
|
|
|
|
|
|
|
|
|
|
License: BSD
|
2018-07-16 11:32:20 +00:00
|
|
|
|
URL: https://pypi.python.org/pypi/websockets
|
2019-07-13 13:54:01 +00:00
|
|
|
|
Source0: https://github.com/aaugustin/websockets/archive/%{version}/%{pypi_name}-%{version}.tar.gz
|
2015-11-06 15:55:09 +00:00
|
|
|
|
|
2018-07-16 09:44:04 +00:00
|
|
|
|
BuildRequires: gcc
|
2015-11-06 15:55:09 +00:00
|
|
|
|
|
2018-07-16 11:32:20 +00:00
|
|
|
|
%global _description \
|
|
|
|
|
websockets is a library for developing WebSocket servers and clients in\
|
|
|
|
|
Python. It implements RFC 6455 with a focus on correctness and simplicity. It\
|
|
|
|
|
passes the Autobahn Testsuite.\
|
|
|
|
|
\
|
|
|
|
|
Built on top of Python’s asynchronous I/O support introduced in PEP 3156, it\
|
|
|
|
|
provides an API based on coroutines, making it easy to write highly concurrent\
|
2015-11-06 15:55:09 +00:00
|
|
|
|
applications.
|
|
|
|
|
|
2018-07-16 11:32:20 +00:00
|
|
|
|
%description %{_description}
|
2015-11-06 15:55:09 +00:00
|
|
|
|
|
|
|
|
|
%package -n python3-%{pypi_name}
|
2018-07-16 09:44:04 +00:00
|
|
|
|
Summary: %{summary}
|
2015-11-06 15:55:09 +00:00
|
|
|
|
%{?python_provide:%python_provide python3-%{pypi_name}}
|
2018-07-16 09:44:04 +00:00
|
|
|
|
BuildRequires: python3-devel >= 3.5
|
|
|
|
|
BuildRequires: python3-setuptools
|
2015-11-06 15:55:09 +00:00
|
|
|
|
|
2018-07-16 11:32:20 +00:00
|
|
|
|
%description -n python3-%{pypi_name} %{_description}
|
2015-11-06 15:55:09 +00:00
|
|
|
|
|
|
|
|
|
%prep
|
2018-07-16 11:32:20 +00:00
|
|
|
|
%autosetup -n %{pypi_name}-%{version} -p1
|
2015-11-06 15:55:09 +00:00
|
|
|
|
# Remove upstream's egg-info
|
2018-07-16 11:32:20 +00:00
|
|
|
|
rm -vrf %{pypi_name}.egg-info
|
2015-11-06 15:55:09 +00:00
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%py3_install
|
2017-11-06 09:52:55 +00:00
|
|
|
|
# Remove installed C file
|
2018-07-16 11:32:20 +00:00
|
|
|
|
rm -vf %{buildroot}%{python3_sitearch}/%{pypi_name}/speedups.c
|
2015-11-06 15:55:09 +00:00
|
|
|
|
|
|
|
|
|
%check
|
2019-07-13 17:02:51 +00:00
|
|
|
|
# Skip tests because they fail on Python 3.8. See: https://github.com/aaugustin/websockets/issues/648
|
|
|
|
|
# WEBSOCKETS_TESTS_TIMEOUT_FACTOR=100 %%{__python3} setup.py test
|
2019-07-13 13:54:01 +00:00
|
|
|
|
|
2015-11-06 15:55:09 +00:00
|
|
|
|
|
|
|
|
|
%files -n python3-%{pypi_name}
|
|
|
|
|
%license LICENSE
|
2017-04-05 18:10:00 +00:00
|
|
|
|
%doc README.rst
|
2017-08-21 17:28:39 +00:00
|
|
|
|
%{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
|
|
|
|
|
%{python3_sitearch}/%{pypi_name}/
|
2015-11-06 15:55:09 +00:00
|
|
|
|
|
|
|
|
|
%changelog
|
2020-07-29 04:37:09 +00:00
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 8.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
2020-07-18 12:36:38 +00:00
|
|
|
|
* Sat Jul 18 2020 Julien Enselme <jujens@jujens.eu> - 8.1-1
|
|
|
|
|
- Update to 8.1
|
|
|
|
|
|
2020-05-26 01:45:49 +00:00
|
|
|
|
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 8.0.2-5
|
|
|
|
|
- Rebuilt for Python 3.9
|
|
|
|
|
|
2020-01-30 16:11:34 +00:00
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 8.0.2-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
2019-10-03 12:35:45 +00:00
|
|
|
|
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 8.0.2-3
|
|
|
|
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
|
|
|
2019-08-21 17:16:21 +00:00
|
|
|
|
* Wed Aug 21 2019 Miro Hrončok <mhroncok@redhat.com> - 8.0.2-2
|
|
|
|
|
- Rebuilt for Python 3.8
|
|
|
|
|
|
2019-08-20 12:00:30 +00:00
|
|
|
|
* Tue Aug 20 2019 Julien Enselme <jujens@jujens> - 8.0.2-1
|
|
|
|
|
- Update to 8.0.2
|
|
|
|
|
|
2019-08-19 09:01:53 +00:00
|
|
|
|
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 8.0-4
|
|
|
|
|
- Rebuilt for Python 3.8
|
|
|
|
|
|
2019-07-26 17:04:23 +00:00
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 8.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
2019-07-13 17:02:51 +00:00
|
|
|
|
* Sat Jul 13 2019 Julien Enselme <jujens@jujens.eu> - 8.0-2
|
|
|
|
|
- Skip tests because it prevents rebuild for Python 3.8. They fail because tests check the number of deprecation warnings and more are raised on Python 3.8.
|
|
|
|
|
|
2019-07-13 13:54:01 +00:00
|
|
|
|
* Sat Jul 13 2019 Julien Enselme <jujens@jujens.eu> - 8.0-1
|
|
|
|
|
- Update to 8.0
|
|
|
|
|
|
2019-02-02 10:02:31 +00:00
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
2018-07-20 21:36:19 +00:00
|
|
|
|
* Fri Jul 20 2018 Julien Enselme <jujens@jujens.eu> - 6.0
|
|
|
|
|
- Update to 6.0
|
|
|
|
|
|
2018-07-14 02:37:22 +00:00
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.1-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
2018-06-19 09:24:08 +00:00
|
|
|
|
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 5.0.1-2
|
|
|
|
|
- Rebuilt for Python 3.7
|
|
|
|
|
|
2018-06-02 12:12:57 +00:00
|
|
|
|
* Sat Jun 02 2018 Julien Enselme <jujens@jujens.eu> - 5.0.1-1
|
|
|
|
|
- Update to 5.0.1
|
|
|
|
|
|
2018-02-09 11:38:40 +00:00
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
2017-11-06 09:52:55 +00:00
|
|
|
|
* Mon Nov 06 2017 Julien Enselme <jujens@jujens.eu> - 4.0.1-1
|
|
|
|
|
- Update to 4.0.1
|
|
|
|
|
|
2017-08-21 17:48:19 +00:00
|
|
|
|
* Mon Aug 21 2017 Julien Enselme <jujens@jujens.eu> - 3.4-2
|
|
|
|
|
- Remove tests with timeouts
|
|
|
|
|
|
2017-08-21 17:28:39 +00:00
|
|
|
|
* Mon Aug 21 2017 Julien Enselme <jujens@jujens.eu> - 3.4-1
|
|
|
|
|
- Update to 3.4
|
|
|
|
|
|
2017-07-27 12:15:54 +00:00
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.3-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
|
2017-04-05 18:10:00 +00:00
|
|
|
|
* Wed Apr 05 2017 Julien Enselme <jujens@jujens.eu> - 3.3-1
|
|
|
|
|
- Update to 3.3
|
|
|
|
|
|
2017-02-11 10:54:26 +00:00
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
|
2016-12-19 17:20:38 +00:00
|
|
|
|
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 3.2-3
|
|
|
|
|
- Rebuild for Python 3.6
|
|
|
|
|
|
2016-09-18 15:52:42 +00:00
|
|
|
|
* Sun Sep 18 2016 Julien Enselme <jujens@jujens.eu> - 3.2-2
|
|
|
|
|
- Correct tests on Python 3.5.2
|
|
|
|
|
|
2016-09-18 10:03:05 +00:00
|
|
|
|
* Sun Sep 18 2016 Julien Enselme <jujens@jujens.eu> - 3.2-1
|
2016-09-18 09:58:02 +00:00
|
|
|
|
- Update to 3.2
|
|
|
|
|
|
2016-07-19 12:09:37 +00:00
|
|
|
|
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-2
|
|
|
|
|
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
|
|
|
2016-06-21 15:23:56 +00:00
|
|
|
|
* Tue Jun 21 2016 Julien Enselme <jujens@jujens.eu> - 3.1-1
|
|
|
|
|
- Update to 3.1
|
|
|
|
|
|
2016-02-14 08:36:53 +00:00
|
|
|
|
* Sun Feb 14 2016 Julien Enselme <jujens@jujens.eu> - 3.0-1
|
|
|
|
|
- Update to 3.0
|
|
|
|
|
- Correct build on rawhide
|
|
|
|
|
|
2016-02-04 21:21:34 +00:00
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.7-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
2015-11-22 22:05:32 +00:00
|
|
|
|
* Sun Nov 22 2015 Julien Enselme <jujens@jujens.eu> - 2.7-1
|
|
|
|
|
- Update to 2.7
|
|
|
|
|
|
2015-11-12 11:59:07 +00:00
|
|
|
|
* Thu Nov 12 2015 Kalev Lember <klember@redhat.com> - 2.6-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
|
|
|
2015-11-06 15:55:09 +00:00
|
|
|
|
* Wed Aug 26 2015 Julien Enselme <jujens@jujens.eu> - 2.6-1
|
|
|
|
|
- Initial package
|