44 lines
1021 B
RPMSpec
44 lines
1021 B
RPMSpec
|
|
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.
|