57 lines
1.7 KiB
RPMSpec
57 lines
1.7 KiB
RPMSpec
%global _empty_manifest_terminate_build 0
|
|
%global pypi_name anyio
|
|
|
|
Name: python-%{pypi_name}
|
|
Version: 4.3.0
|
|
Release: 1
|
|
Summary: Compatibility layer for multiple asynchronous event loop implementations
|
|
License: MIT
|
|
URL: https://pypi.org/project/anyio/
|
|
Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: python3-pip
|
|
BuildRequires: python3-devel
|
|
BuildRequires: python3-setuptools
|
|
BuildRequires: python3-setuptools_scm
|
|
BuildRequires: python3-wheel
|
|
|
|
%description
|
|
AnyIO is an asynchronous networking and concurrency library that works on top
|
|
of either asyncio or trio. It implements trio-like structured concurrency (SC)
|
|
on top of asyncio, and works in harmony with the native SC of trio itself.
|
|
|
|
%package -n python3-%{pypi_name}
|
|
Summary: Compatibility layer for multiple asynchronous event loop implementations
|
|
|
|
%description -n python3-%{pypi_name}
|
|
AnyIO is an asynchronous networking and concurrency library that works on top
|
|
of either asyncio or trio. It implements trio-like structured concurrency (SC)
|
|
on top of asyncio, and works in harmony with the native SC of trio itself.
|
|
|
|
%prep
|
|
%autosetup -n %{pypi_name}-%{version} -p1
|
|
|
|
%build
|
|
%pyproject_build
|
|
|
|
%install
|
|
%pyproject_install
|
|
|
|
%files -n python3-%{pypi_name}
|
|
%doc README.rst
|
|
%license LICENSE
|
|
%{python3_sitelib}/anyio-*.dist-info/
|
|
%{python3_sitelib}/anyio/
|
|
|
|
%changelog
|
|
* Fri Feb 23 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 4.3.0-1
|
|
- Update package to version 4.3.0
|
|
Fixed inability to pass total_tokens as a keyword argument on trio
|
|
|
|
* Mon Nov 13 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 4.0.0-1
|
|
- Update package to version 4.0.0
|
|
|
|
* Thu Jul 27 2023 li-miaomiao_zhr <mmlidc@isoftstone.com> - 3.7.1-1
|
|
- Package init
|