# what it's called on pypi %global srcname websocket-client # what it's imported as %global libname websocket %global common_description %{expand: 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 WebSocket protocol. This client does not currently support the permessage-deflate extension from RFC 7692.} Name: python-%{srcname} Version: 1.3.2 Release: 1%{?dist} Summary: WebSocket client for python License: ASL 2.0 URL: https://github.com/websocket-client/websocket-client Source0: %pypi_source BuildArch: noarch %description %{common_description} %package -n python3-%{srcname} Summary: %{summary} 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-%{srcname} %{common_description} %prep %autosetup -n %{srcname}-%{version} %generate_buildrequires %pyproject_buildrequires -x test %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{libname} %check %pytest websocket/tests %files -n python3-%{srcname} -f %{pyproject_files} %license LICENSE %doc README.md ChangeLog %{_bindir}/wsdump %changelog * Wed Apr 06 2022 Major Hayden - 1.3.2-1 - Update to 1.3.2 * Fri Jan 21 2022 Fedora Release Engineering - 1.2.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Dec 21 2021 Carl George - 1.2.3-1 - Latest upstream - Resolves: rhbz#1990682 * Sun Aug 01 2021 Carl George - 1.1.0-1 - Latest upstream - Resolves: rhbz#1934343 * Tue Jul 27 2021 Fedora Release Engineering - 0.57.0-4 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu Jun 03 2021 Python Maint - 0.57.0-3 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.57.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Sep 10 2020 Joel Capitao - 0.57.0-1 - Update to 0.57.0 - Remove python2 subpackage * Wed Jul 29 2020 Fedora Release Engineering - 0.56.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sat May 23 2020 Miro Hrončok - 0.56.0-7 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.56.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 0.56.0-5 - Rebuilt for Python 3.8.0rc1 (#1748018) * Fri Aug 16 2019 Miro Hrončok - 0.56.0-4 - Rebuilt for Python 3.8 * Wed Aug 07 2019 Carl George - 0.56.0-3 - Disable python2 subpackage on F31+ rhbz#1738467 * Fri Jul 26 2019 Fedora Release Engineering - 0.56.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Mon Jun 10 2019 Carl George - 0.56.0-1 - Latest upstream * Tue Feb 12 2019 Yatin Karel - 0.54.0-1 - Update to 0.54.0 - Change license to BSD as source has changed it. * Sat Feb 02 2019 Fedora Release Engineering - 0.53.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sun Oct 28 2018 Peter Robinson 0.53.0-1 - Update to 0.53.0 * Sat Jul 14 2018 Fedora Release Engineering - 0.47.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sun Jun 17 2018 Miro Hrončok - 0.47.0-3 - Rebuilt for Python 3.7 * Tue Mar 27 2018 Charalampos Stratakis - 0.47.0-2 - Conditionalize the Python 2 subpackage - Don't build the Python 2 subpackage on EL > 7 * Mon Mar 26 2018 Jan Beran - 0.47.0-1 - Latest upstream (rhbz# 1548228) - Fixes python3-websocket-client requires both Python 2 and 3 (rhbz# 1531541) * Fri Feb 09 2018 Fedora Release Engineering - 0.46.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Tue Jan 02 2018 Carl George - 0.46.0-1 - Latest upstream rhbz#1462523 - Only ship one version of wsdump - Properly install LICENSE file - Remove tests from buildroot - Use Python build, install, and provides macros * Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek - 0.40.0-4 - Python 2 binary package renamed to python2-websocket-client See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 * Fri Sep 29 2017 Troy Dawson - 0.40.0-3 - Cleanup spec file conditionals * Thu Jul 27 2017 Fedora Release Engineering - 0.40.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Feb 27 2017 Ralph Bean - 0.40.0-1 - new version * Sat Feb 11 2017 Fedora Release Engineering - 0.37.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 0.37.0-3 - Rebuild for Python 3.6 * Tue Jul 19 2016 Fedora Release Engineering - 0.37.0-2 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Thu Apr 14 2016 Ralph Bean - 0.37.0-1 - new version * Mon Apr 04 2016 Ralph Bean - 0.35.0-1 - new version * Thu Feb 04 2016 Fedora Release Engineering - 0.34.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Nov 10 2015 Fedora Release Engineering - 0.34.0-2 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 * Wed Oct 28 2015 Ralph Bean - 0.34.0-1 - new version * Tue Oct 27 2015 Ralph Bean - 0.33.0-1 - new version * Mon Jul 27 2015 Ralph Bean - 0.32.0-1 - new version * Thu Jun 18 2015 Fedora Release Engineering - 0.14.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - 0.14.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Wed May 28 2014 Kalev Lember - 0.14.1-2 - Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 * Thu May 22 2014 Ralph Bean - 0.14.1-1 - Latest upstream with python3 support. * Sun Aug 04 2013 Fedora Release Engineering - 0.10.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Apr 10 2013 Ralph Bean - 0.10.0-1 - Latest upstream release. - Removed executable bit from installed lib files for rpmlint. * Wed Feb 27 2013 Ralph Bean - 0.9.0-2 - Replaced websocket_client with %%{eggname} as per review by Palle Ravn https://bugzilla.redhat.com/show_bug.cgi?id=909644#c4 - Removed a few unnecessary newlines. * Wed Feb 27 2013 Ralph Bean - 0.9.0-1 - Latest upstream. * Sat Feb 09 2013 Ralph Bean - 0.8.0-1 - Initial package for Fedora