# Created by pyp2rpm-3.3.2 %global pypi_name python-engineio %global srcname engineio Name: python-%{srcname} Version: 3.11.1 Release: 1%{?dist} Summary: Engine.IO server License: MIT URL: http://github.com/miguelgrinberg/python-engineio/ # pypi source tarball does not contain tests #Source0: https://files.pythonhosted.org/packages/source/p/{pypi_name}/{pypi_name}-{version}.tar.gz Source0: https://github.com/miguelgrinberg/%{name}/archive/v%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(aiohttp) >= 3.4 BuildRequires: python3dist(eventlet) BuildRequires: python3dist(mock) BuildRequires: python3dist(requests) >= 2.21.0 BuildRequires: python3dist(setuptools) BuildRequires: python3dist(six) >= 1.9.0 BuildRequires: python3dist(websocket-client) >= 0.54.0 BuildRequires: python3-tornado %description Python implementation of the Engine.IO realtime client and server. %package -n python3-%{srcname} Summary: %{summary} %{?python_provide:%python_provide python3-%{srcname}} Requires: python3dist(aiohttp) >= 3.4 Requires: python3dist(requests) >= 2.21.0 Requires: python3dist(six) >= 1.9.0 Requires: python3dist(websocket-client) >= 0.54.0 %description -n python3-%{srcname} Python implementation of the Engine.IO realtime client and server. %prep %autosetup -n %{pypi_name}-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build %py3_build %install %py3_install %check %{__python3} setup.py test #tox %files -n python3-%{srcname} %license LICENSE %doc README.rst %{python3_sitelib}/engineio %{python3_sitelib}/python_engineio-%{version}-py?.?.egg-info %changelog * Sun Dec 22 2019 Mukundan Ragavan - 3.11.1-1 - Initial package.