!1 Package init
From: @li-miaomiao_zhr Reviewed-by: @shinwell_hu Signed-off-by: @shinwell_hu
This commit is contained in:
commit
2568447a93
BIN
anyio-3.7.1.tar.gz
Normal file
BIN
anyio-3.7.1.tar.gz
Normal file
Binary file not shown.
49
anyio.spec
Normal file
49
anyio.spec
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
%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
|
||||||
Loading…
x
Reference in New Issue
Block a user