# Created by pyp2rpm-3.3.2
%global pypi_name python-engineio
%global srcname engineio
%global _description %{expand:
Engine.IO is a lightweight transport protocol that enables real-time
bidirectional event-based communication between clients (typically,
though not always, web browsers) and a server. The official
implementations of the client and server components are written in
JavaScript. This package provides Python implementations of both,
each with standard and asyncio variants.}
Name: python-%{srcname}
Version: 3.11.1
Release: 3%{?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 %_description
%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} %_description
%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
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.11.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Mon Dec 30 2019 Mukundan Ragavan <nonamedotc@gmail.com> - 3.11.1-2
- Use expand macro for description
* Sun Dec 22 2019 Mukundan Ragavan <nonamedotc@gmail.com> - 3.11.1-1
- Initial package.