diff --git a/anyio-3.7.1.tar.gz b/anyio-3.7.1.tar.gz new file mode 100644 index 0000000..6a884f4 Binary files /dev/null and b/anyio-3.7.1.tar.gz differ diff --git a/anyio.spec b/anyio.spec new file mode 100644 index 0000000..bb0f6a5 --- /dev/null +++ b/anyio.spec @@ -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 - 3.7.1-1 +- Package init