!1 fix issue:需要引入软件包python-async-lru v2.0.4

From: @zhangchao13 
Reviewed-by: @desert-sailor 
Signed-off-by: @desert-sailor
This commit is contained in:
openeuler-ci-bot 2023-08-01 08:48:45 +00:00 committed by Gitee
commit dcfd4ccd02
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 44 additions and 0 deletions

BIN
async-lru-2.0.4.tar.gz Normal file

Binary file not shown.

44
python-async-lru.spec Normal file
View File

@ -0,0 +1,44 @@
Name: python-async-lru
Version: 2.0.4
Release: 1
Summary: Simple lru_cache for asyncio
License: MIT
URL: https://github.com/aio-libs/async_lru
Source: %{pypi_source async-lru}
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-hatchling
%global _description %{expand:
This package is 100% port of Python built-in
function functools.lru_cache for asyncio.}
%description %_description
%package -n python3-async-lru
Summary: %{summary}
%description -n python3-async-lru %_description
%prep
%autosetup -p1 -n async-lru-%{version}
sed -i "/addopts/d" setup.cfg
%build
%pyproject_build
%install
%pyproject_install
%files -n python3-async-lru
%defattr(-,root,root)
%license LICENSE
%{python3_sitelib}/async_lru/
%{python3_sitelib}/async_lru*.dist-info/
%doc README.rst
%changelog
* Tue Aug 1 2023 chaozhangm <chaozhangm@isoftstone.com> - 2.0.4-1
- Initial package.