diff --git a/async-lru-2.0.4.tar.gz b/async-lru-2.0.4.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..de010ea3730d555f002ba73bd9735712caac5a47 Binary files /dev/null and b/async-lru-2.0.4.tar.gz differ diff --git a/python-async-lru.spec b/python-async-lru.spec new file mode 100644 index 0000000000000000000000000000000000000000..41711064a97568fac015705604b70ae3ae25a1ce --- /dev/null +++ b/python-async-lru.spec @@ -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 - 2.0.4-1 +- Initial package. \ No newline at end of file