fix issue:需要引入软件包python-async-lru v2.0.4
This commit is contained in:
parent
ca5a3e702c
commit
08c51df2cc
BIN
async-lru-2.0.4.tar.gz
Normal file
BIN
async-lru-2.0.4.tar.gz
Normal file
Binary file not shown.
44
python-async-lru.spec
Normal file
44
python-async-lru.spec
Normal 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.
|
||||
Loading…
x
Reference in New Issue
Block a user