- Clean up SPEC file, make rpmlint happy.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask-SocketIO?expand=0&rev=5
This commit is contained in:
parent
3763eb85e7
commit
27c738c87e
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 21 21:36:05 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Clean up SPEC file, make rpmlint happy.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jun 21 19:56:26 UTC 2023 - Axel Braun <axel.braun@gmx.de>
|
Wed Jun 21 19:56:26 UTC 2023 - Axel Braun <axel.braun@gmx.de>
|
||||||
|
|
||||||
|
@ -16,25 +16,24 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python3-%{**}}
|
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
Name: python-Flask-SocketIO
|
Name: python-Flask-SocketIO
|
||||||
Version: 5.3.4
|
Version: 5.3.4
|
||||||
Release: 0
|
Release: 0
|
||||||
License: MIT
|
|
||||||
Summary: SocketIO integration for Flask applications
|
Summary: SocketIO integration for Flask applications
|
||||||
URL: http://github.com/miguelgrinberg/Flask-SocketIO/
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
|
URL: https://github.com/miguelgrinberg/Flask-SocketIO/
|
||||||
Source: https://files.pythonhosted.org/packages/source/F/Flask-SocketIO/Flask-SocketIO-%{version}.tar.gz
|
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
|
Source1: https://raw.githubusercontent.com/miguelgrinberg/Flask-SocketIO/v%{version}/test_socketio.py
|
||||||
BuildRequires: %{python_module Flask >= 0.9}
|
BuildRequires: %{python_module Flask >= 0.9}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module python-socketio >= 5.0.2}
|
BuildRequires: %{python_module python-socketio >= 5.0.2}
|
||||||
BuildRequires: %{python_module redis}
|
BuildRequires: %{python_module redis}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
Requires: python-Flask >= 0.9
|
Requires: python-Flask >= 0.9
|
||||||
Requires: python-python-socketio >= 5.0.2
|
Requires: python-python-socketio >= 5.0.2
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@ -43,21 +42,22 @@ Socket.IO integration for Flask applications.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n Flask-SocketIO-%{version}
|
%setup -q -n Flask-SocketIO-%{version}
|
||||||
cp %{S:1} .
|
cp %{SOURCE1} .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%pyunittest -v test_socketio.py
|
%pyunittest -v test_socketio.py
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/flask_socketio
|
||||||
|
%{python_sitelib}/Flask_SocketIO-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user