diff options
author | CoprDistGit <infra@openeuler.org> | 2024-10-25 22:05:42 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-10-25 22:05:42 +0000 |
commit | 4f7b1dec00625dc20e87e6e7eab46d414d32f1d7 (patch) | |
tree | b5d54c108866160a2d4f1343b18ebc349b345aae /python-uvloop.spec | |
parent | 0771ef3f273c899c78915c2db49b40a6f02fdad4 (diff) |
automatic import of python-uvloopopeneuler24.03_LTS
Diffstat (limited to 'python-uvloop.spec')
-rw-r--r-- | python-uvloop.spec | 67 |
1 files changed, 67 insertions, 0 deletions
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 <zhaoshuang@uniontech.com> - 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 <jiangxinyu@kylinos.cn> - 0.19.0-1 +- Update package to version 0.19.0 + +* Mon Jul 24 2023 ysliu <ysliuci@isoftstone.com> - 0.17.0-1 +- Initial package. |