From 4f7b1dec00625dc20e87e6e7eab46d414d32f1d7 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 25 Oct 2024 22:05:42 +0000 Subject: automatic import of python-uvloop --- .gitignore | 1 + python-uvloop.spec | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 69 insertions(+) create mode 100644 python-uvloop.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..3585675 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/uvloop-0.20.0.tar.gz diff --git a/python-uvloop.spec b/python-uvloop.spec new file mode 100644 index 0000000..050badd --- /dev/null +++ b/python-uvloop.spec @@ -0,0 +1,67 @@ +# 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. diff --git a/sources b/sources new file mode 100644 index 0000000..eaa535f --- /dev/null +++ b/sources @@ -0,0 +1 @@ +c3395ddc1746e2bf4b2987d88c4707e8 uvloop-0.20.0.tar.gz -- cgit v1.2.3