|
|
@ -1,3 +1,8 @@
|
|
|
|
|
|
|
|
# what it's called on pypi
|
|
|
|
|
|
|
|
%global srcname websocket-client
|
|
|
|
|
|
|
|
# what it's imported as
|
|
|
|
|
|
|
|
%global libname websocket
|
|
|
|
|
|
|
|
|
|
|
|
%global common_description %{expand:
|
|
|
|
%global common_description %{expand:
|
|
|
|
websocket-client is a WebSocket client for Python. It provides access to low
|
|
|
|
websocket-client is a WebSocket client for Python. It provides access to low
|
|
|
|
level APIs for WebSockets. websocket-client implements version hybi-13 of the
|
|
|
|
level APIs for WebSockets. websocket-client implements version hybi-13 of the
|
|
|
@ -5,32 +10,34 @@ WebSocket protocol. This client does not currently support the
|
|
|
|
permessage-deflate extension from RFC 7692.}
|
|
|
|
permessage-deflate extension from RFC 7692.}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-websocket-client
|
|
|
|
Name: python-%{srcname}
|
|
|
|
Version: 1.8.0
|
|
|
|
Version: 1.2.3
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: WebSocket client for python
|
|
|
|
Summary: WebSocket client for python
|
|
|
|
License: Apache-2.0
|
|
|
|
License: ASL 2.0
|
|
|
|
URL: https://github.com/websocket-client/websocket-client
|
|
|
|
URL: https://github.com/websocket-client/websocket-client
|
|
|
|
|
|
|
|
Source0: %pypi_source
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
Source: %{pypi_source websocket_client}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# https://github.com/websocket-client/websocket-client/pull/998
|
|
|
|
|
|
|
|
Patch: 0001-Include-pytest-in-test-extra.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description %{common_description}
|
|
|
|
%description %{common_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python3-websocket-client
|
|
|
|
%package -n python3-%{srcname}
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
|
|
|
BuildRequires: %{py3_dist pytest}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# https://fedoraproject.org/wiki/Packaging:Conflicts#Splitting_Packages
|
|
|
|
|
|
|
|
# wsdump moved from py2 to py3 package
|
|
|
|
|
|
|
|
Conflicts: python2-websocket-client <= 0.40.0-4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n python3-websocket-client %{common_description}
|
|
|
|
%description -n python3-%{srcname} %{common_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -p 1 -n websocket_client-%{version}
|
|
|
|
%autosetup -n %{srcname}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
%generate_buildrequires
|
|
|
@ -43,69 +50,22 @@ BuildRequires: python3-devel
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%pyproject_install
|
|
|
|
%pyproject_install
|
|
|
|
%pyproject_save_files -l websocket
|
|
|
|
%pyproject_save_files %{libname}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
%pytest -v websocket/tests
|
|
|
|
%pytest websocket/tests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python3-websocket-client -f %{pyproject_files}
|
|
|
|
%files -n python3-%{srcname} -f %{pyproject_files}
|
|
|
|
|
|
|
|
%license LICENSE
|
|
|
|
%doc README.md ChangeLog
|
|
|
|
%doc README.md ChangeLog
|
|
|
|
%{_bindir}/wsdump
|
|
|
|
%{_bindir}/wsdump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Sun Jan 05 2025 Arkady L. Shane <tigro@msvsphere-os.ru> - 1.8.0-2
|
|
|
|
* Sun Jul 28 2024 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 1.2.3-2
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
- Rebuilt for MSVSphere 9.4
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Aug 30 2024 Carl George <carlwgeorge@fedoraproject.org> - 1.8.0-2
|
|
|
|
|
|
|
|
- Remove explicit pytest buildreq by including it in the test extra
|
|
|
|
|
|
|
|
- Remove duplicate license file
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Aug 30 2024 Michel Lind <salimma@fedoraproject.org> - 1.8.0-1
|
|
|
|
|
|
|
|
- Update to 1.8.0
|
|
|
|
|
|
|
|
- Don't use macros for names
|
|
|
|
|
|
|
|
- Resolves: rhbz#2276771
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 24 2024 Miroslav Suchý <msuchy@redhat.com> - 1.7.0-4
|
|
|
|
|
|
|
|
- convert license to SPDX
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 1.7.0-2
|
|
|
|
|
|
|
|
- Rebuilt for Python 3.13
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Apr 15 2024 Lumír Balhar <lbalhar@redhat.com> - 1.7.0-1
|
|
|
|
|
|
|
|
- Update to 1.7.0 (rhbz#2121193)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.3-7
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.3-6
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.3-5
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 1.3.3-4
|
|
|
|
|
|
|
|
- Rebuilt for Python 3.12
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.3-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.3-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jun 30 2022 Major Hayden <major@redhat.com> - 1.3.3-1
|
|
|
|
|
|
|
|
- Update to 1.3.3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jun 16 2022 Python Maint <python-maint@redhat.com> - 1.3.2-2
|
|
|
|
|
|
|
|
- Rebuilt for Python 3.11
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Apr 06 2022 Major Hayden <major@mhtx.net> - 1.3.2-1
|
|
|
|
|
|
|
|
- Update to 1.3.2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-2
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|