2021-06-01 08:45:09 +02:00
|
|
|
#
|
|
|
|
# spec file for package python-Flask-SocketIO
|
|
|
|
#
|
2023-06-21 23:31:43 +02:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2021-06-01 08:45:09 +02:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2021-10-27 19:42:15 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2021-06-01 08:45:09 +02:00
|
|
|
|
|
|
|
%define skip_python2 1
|
2023-12-06 14:41:19 +01:00
|
|
|
%{?sle15_python_module_pythons}
|
2021-06-01 08:45:09 +02:00
|
|
|
Name: python-Flask-SocketIO
|
2023-08-11 09:48:15 +02:00
|
|
|
Version: 5.3.5
|
2021-06-01 08:45:09 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: SocketIO integration for Flask applications
|
2023-06-21 23:36:12 +02:00
|
|
|
License: MIT
|
2021-06-01 08:45:09 +02:00
|
|
|
Group: Development/Languages/Python
|
2023-06-21 23:36:12 +02:00
|
|
|
URL: https://github.com/miguelgrinberg/Flask-SocketIO/
|
2021-06-01 08:45:09 +02:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/F/Flask-SocketIO/Flask-SocketIO-%{version}.tar.gz
|
|
|
|
Source1: https://raw.githubusercontent.com/miguelgrinberg/Flask-SocketIO/v%{version}/test_socketio.py
|
|
|
|
BuildRequires: %{python_module Flask >= 0.9}
|
2023-06-21 23:36:12 +02:00
|
|
|
BuildRequires: %{python_module pip}
|
2021-06-01 08:45:09 +02:00
|
|
|
BuildRequires: %{python_module python-socketio >= 5.0.2}
|
2023-06-21 23:31:43 +02:00
|
|
|
BuildRequires: %{python_module redis}
|
2023-06-21 23:36:12 +02:00
|
|
|
BuildRequires: %{python_module wheel}
|
2021-06-01 08:45:09 +02:00
|
|
|
BuildRequires: fdupes
|
|
|
|
Requires: python-Flask >= 0.9
|
|
|
|
Requires: python-python-socketio >= 5.0.2
|
|
|
|
BuildArch: noarch
|
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
%description
|
|
|
|
Socket.IO integration for Flask applications.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n Flask-SocketIO-%{version}
|
2023-06-21 23:36:12 +02:00
|
|
|
cp %{SOURCE1} .
|
2021-06-01 08:45:09 +02:00
|
|
|
|
|
|
|
%build
|
2023-06-21 23:36:12 +02:00
|
|
|
%pyproject_wheel
|
2021-06-01 08:45:09 +02:00
|
|
|
|
|
|
|
%install
|
2023-06-21 23:36:12 +02:00
|
|
|
%pyproject_install
|
2021-06-01 08:45:09 +02:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
|
|
|
%check
|
|
|
|
%pyunittest -v test_socketio.py
|
|
|
|
|
2023-06-21 23:36:12 +02:00
|
|
|
%files %{python_files}
|
2021-10-27 19:42:15 +02:00
|
|
|
%doc README.md
|
|
|
|
%license LICENSE
|
2023-06-21 23:36:12 +02:00
|
|
|
%{python_sitelib}/flask_socketio
|
|
|
|
%{python_sitelib}/Flask_SocketIO-%{version}*-info
|
2021-06-01 08:45:09 +02:00
|
|
|
|
|
|
|
%changelog
|