# Created by pyp2rpm-3.2.2 %global pypi_name uvloop Name: python-%{pypi_name} Version: 0.20.0 Release: 1 Summary: Fast implementation of asyncio event loop on top of libuv License: MIT URL: http://github.com/MagicStack/uvloop Source0: https://files.pythonhosted.org/packages/source/u/%{pypi_name}/%{pypi_name}-%{version}.tar.gz BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-sphinx %description uvloop is a fast, dropin replacement of the builtin asyncio event loop. uvloop is implemented in Cython and uses libuv under the hood. %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} uvloop is a fast, dropin replacement of the builtin asyncio event loop. uvloop is implemented in Cython and uses libuv under the hood. %package -n python-%{pypi_name}-help Summary: uvloop documentation %description -n python-%{pypi_name}-help Documentation for uvloop %prep %autosetup -n %{pypi_name}-%{version} # Remove bundled egg-info # rm -rf %{pypi_name}.egg-info %build %py3_build # generate html docs sphinx-build-3 docs html # remove the sphinx-build leftovers rm -rf html/.{doctrees,buildinfo} %install %py3_install %files -n python3-%{pypi_name} %license LICENSE-APACHE LICENSE-MIT vendor/libuv/LICENSE vendor/libuv/LICENSE-docs %doc README.rst vendor/libuv/README.md %{python3_sitearch}/%{pypi_name} %{python3_sitearch}/%{pypi_name}-*.egg-info %files -n python-%{pypi_name}-help %doc html %changelog * Thu Sep 19 2024 kkz - 0.20.0-1 - Update package to version 0.20.0 Upgrade libuv to v1.48.0 and fix some issues * Mon Feb 26 2024 jiangxinyu - 0.19.0-1 - Update package to version 0.19.0 * Mon Jul 24 2023 ysliu - 0.17.0-1 - Initial package.