commit dde2faf117a208e841599a214d21b1637701e96f Author: tigro Date: Tue Jul 18 14:17:49 2023 +0300 import python-websockets-10.1-1.el9 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c42f728 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/websockets-10.1.tar.gz diff --git a/.python-websockets.metadata b/.python-websockets.metadata new file mode 100644 index 0000000..6f85a73 --- /dev/null +++ b/.python-websockets.metadata @@ -0,0 +1 @@ +eadd324761ad3169c2ae7b4217e41570f5d3cdb0 SOURCES/websockets-10.1.tar.gz diff --git a/SPECS/python-websockets.spec b/SPECS/python-websockets.spec new file mode 100644 index 0000000..abd8908 --- /dev/null +++ b/SPECS/python-websockets.spec @@ -0,0 +1,184 @@ +%global pypi_name websockets + +%ifarch %{ix86} x86_64 +%bcond_without tests +%endif + +Name: python-%{pypi_name} +Version: 10.1 +Release: 1%{?dist} +Summary: An implementation of the WebSocket Protocol for python with asyncio + +License: BSD +URL: https://github.com/aaugustin/websockets +Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz + +BuildRequires: gcc + +%global _description %{expand: +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 +applications.} + +%description %{_description} + +%package -n python3-%{pypi_name} +Summary: %{summary} +BuildRequires: python3-devel + +%description -n python3-%{pypi_name} %{_description} + +%prep +%autosetup -n %{pypi_name}-%{version} -p1 + +%generate_buildrequires +%pyproject_buildrequires %{?with_tests:-t} + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files websockets + +%check +%if %{with tests} +%tox +%endif + + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc README.rst + +%changelog +* Tue Jul 18 2023 Arkady L. Shane - 10.1-1 +- Rebuilt for MSVSphere 9.2 + +* Thu Feb 03 2022 Carl George - 10.1-1 +- Latest upstream rhbz#2023114 +- Only run tests on x86 architectures + +* Wed Feb 02 2022 Carl George - 10.0-3 +- Convert to pyproject macros +- Run test suite in %%check + +* Fri Jan 21 2022 Fedora Release Engineering - 10.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Sep 10 2021 Tomas Hrnciar - 10.0-1 +- Update to 10.0 +- Fixes: rhbz#2002542 + +* Mon Jul 19 2021 Carl George - 9.1-1 +- Latest upstream +- Resolves: rhbz#1955976 + +* Fri Jun 04 2021 Python Maint - 8.1-4 +- Rebuilt for Python 3.10 + +* Wed Jan 27 2021 Fedora Release Engineering - 8.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 8.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sat Jul 18 2020 Julien Enselme - 8.1-1 +- Update to 8.1 + +* Tue May 26 2020 Miro Hrončok - 8.0.2-5 +- Rebuilt for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 8.0.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Oct 03 2019 Miro Hrončok - 8.0.2-3 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Wed Aug 21 2019 Miro Hrončok - 8.0.2-2 +- Rebuilt for Python 3.8 + +* Tue Aug 20 2019 Julien Enselme - 8.0.2-1 +- Update to 8.0.2 + +* Mon Aug 19 2019 Miro Hrončok - 8.0-4 +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 8.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Jul 13 2019 Julien Enselme - 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. + +* Sat Jul 13 2019 Julien Enselme - 8.0-1 +- Update to 8.0 + +* Sat Feb 02 2019 Fedora Release Engineering - 6.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 20 2018 Julien Enselme - 6.0 +- Update to 6.0 + +* Sat Jul 14 2018 Fedora Release Engineering - 5.0.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 19 2018 Miro Hrončok - 5.0.1-2 +- Rebuilt for Python 3.7 + +* Sat Jun 02 2018 Julien Enselme - 5.0.1-1 +- Update to 5.0.1 + +* Fri Feb 09 2018 Fedora Release Engineering - 4.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* 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 + +* Mon Aug 21 2017 Julien Enselme - 3.4-1 +- Update to 3.4 + +* Thu Jul 27 2017 Fedora Release Engineering - 3.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Wed Apr 05 2017 Julien Enselme - 3.3-1 +- Update to 3.3 + +* Sat Feb 11 2017 Fedora Release Engineering - 3.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Dec 19 2016 Miro Hrončok - 3.2-3 +- Rebuild for Python 3.6 + +* Sun Sep 18 2016 Julien Enselme - 3.2-2 +- Correct tests on Python 3.5.2 + +* Sun Sep 18 2016 Julien Enselme - 3.2-1 +- Update to 3.2 + +* Tue Jul 19 2016 Fedora Release Engineering - 3.1-2 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Tue Jun 21 2016 Julien Enselme - 3.1-1 +- Update to 3.1 + +* Sun Feb 14 2016 Julien Enselme - 3.0-1 +- Update to 3.0 +- Correct build on rawhide + +* Thu Feb 04 2016 Fedora Release Engineering - 2.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Sun Nov 22 2015 Julien Enselme - 2.7-1 +- Update to 2.7 + +* Thu Nov 12 2015 Kalev Lember - 2.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 + +* Wed Aug 26 2015 Julien Enselme - 2.6-1 +- Initial package