python-anyio/anyio.spec

50 lines
1.5 KiB
RPMSpec
Raw Normal View History

2023-07-27 11:43:47 +08:00
%global _empty_manifest_terminate_build 0
%global pypi_name anyio
Name: python-%{pypi_name}
Version: 3.7.1
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
* Thu Jul 27 2023 li-miaomiao_zhr <mmlidc@isoftstone.com> - 3.7.1-1
- Package init