Blame SPECS/python-websockets.spec

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