forked from pool/python-python-socketio
Accepting request 1194152 from home:yeey:branches:devel:languages:python
- Update to 5.11.3 * New shutdown() method added to the client #1333 (commit) * Ignore catch-all namespace in client connections #1351 (commit) * Accept 0 as a callback id #1329 (commit) (thanks Ruslan Bel'kov!) * Minor updates to the server and client documentation (commit) * Remove outdated information in intro section of documentation #1337 (commit) * Fixed typos in server documentation #1331 (commit) (thanks John Sigg!) OBS-URL: https://build.opensuse.org/request/show/1194152 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-socketio?expand=0&rev=14
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-python-socketio
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,44 +18,51 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-python-socketio
|
||||
Version: 5.7.2
|
||||
Version: 5.11.3
|
||||
Release: 0
|
||||
Summary: SocketIO server
|
||||
License: MIT
|
||||
URL: http://github.com/miguelgrinberg/python-socketio/
|
||||
Source: https://github.com/miguelgrinberg/python-socketio/archive/v%{version}.tar.gz#/python-socketio-%{version}.tar.gz
|
||||
Source: https://github.com/miguelgrinberg/python-socketio/archive/v%{version}.tar.gz#/python_socketio-%{version}.tar.gz
|
||||
BuildRequires: %{python_module bidict >= 0.21.0}
|
||||
BuildRequires: %{python_module python-engineio >= 4.1.0}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module python-engineio >= 4.8.0}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: %{python_module bidict >= 0.21.0}
|
||||
Requires: %{python_module python-engineio >= 4.8.0}
|
||||
Suggests: %{python_module aiohttp >= 3.4}
|
||||
Suggests: %{python_module requests >= 2.21.0}
|
||||
Suggests: %{python_module websocket-client >= 0.54.0}
|
||||
#Tests:
|
||||
BuildRequires: %{python_module aiohttp >= 3.4}
|
||||
BuildRequires: %{python_module msgpack}
|
||||
Requires: python-bidict >= 0.21.0
|
||||
Requires: python-python-engineio >= 4.1.0
|
||||
Suggests: python-aiohttp >= 3.4
|
||||
Suggests: python-requests >= 2.21.0
|
||||
Suggests: python-websocket-client >= 0.54.0
|
||||
Suggests: python-websockets >= 7.0
|
||||
BuildArch: noarch
|
||||
BuildRequires: %{python_module pytest-timeout}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module requests >= 2.21.0}
|
||||
BuildRequires: %{python_module simple-websocket}
|
||||
BuildRequires: %{python_module uvicorn}
|
||||
BuildRequires: %{python_module websocket-client >= 0.54.0}
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Python implementation of the Socket.IO realtime server.
|
||||
|
||||
%prep
|
||||
%setup -q -n python-socketio-%{version}
|
||||
%setup -q -n python_socketio-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest -rs -k 'not test_logger'
|
||||
%pytest -rs -k 'not test_logger' --timeout=60
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
|
Reference in New Issue
Block a user