14
0
Files
python-python-engineio/python-python-engineio.spec
Matej Cepl 7d821b0e41 Accepting request 948193 from home:DocB:branches:devel:languages:python
- version 4.3.1
 * Fix support for Sanic v21.9.0 and up (commit) (thanks 13g10n!)
 * Include example code in flake8 pass (commit)
 * Remove unused version constant #262 (commit 1 commit 2) 
 * Backward incompatible change: Reject websocket messages larger than max_http_buffer_size #260 (commit)
 * Enable or disable specific transports #259 (commit) (thanks Maciej Szeptuch!)
 * Option to disable the SIGINT handler in the client (commit)
 * Support binary packets with zero length #257 (commit)
 * Improve documentation on start_background_task() function (commit)
 * Remove unsanitized client input from error messages #250 (commit) (thanks André Carvalho!)
 * Use plaintext Content-Type when using polling #248 (commit) (thanks Tobias!)
 * Return better error messages for client connection errors #243 (commit)
 * Reuse the aiohttp client session on reconnects #226 (commit) 
 * Support setting socketio_path to the root URL #242 (commit)
 * Use the gevent selector to avoid 1024 file handle limitation of select#228 (commit)
 * Pass reason when closing a WebSocket connection (commit)
 * Improved project structure (commit)
 * Remove executable permissions from files that lack shebang lines #240 (commit) (thanks Ben Beasley!)

OBS-URL: https://build.opensuse.org/request/show/948193
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-engineio?expand=0&rev=5
2022-01-24 13:28:03 +00:00

69 lines
2.1 KiB
RPMSpec

#
# spec file for package python-python-engineio
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
Name: python-python-engineio
Version: 4.3.1
Release: 0
Summary: EngineIO server
License: MIT
URL: http://github.com/miguelgrinberg/python-engineio/
Source: https://github.com/miguelgrinberg/python-engineio/archive/v%{version}.tar.gz#/python-engineio-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Recommends: python-eventlet
Suggests: python-aiohttp >= 3.4
Suggests: python-requests >= 2.21.0
Suggests: python-websocket-client >= 0.54.0
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module aiohttp >= 3.4}
BuildRequires: %{python_module eventlet}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests >= 2.21.0}
BuildRequires: %{python_module tornado}
BuildRequires: %{python_module websocket-client >= 0.54.0}
# /SECTION
%python_subpackages
%description
Python implementation of the Engine.IO realtime server.
%prep
%setup -q -n python-engineio-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest -rs -k 'not test_logger'
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/engineio
%{python_sitelib}/python_engineio-%{version}*-info
%changelog