## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 5; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: python-async-lru Version: 2.0.4 Release: %autorelease Summary: Simple lru_cache for asyncio # SPDX License: MIT URL: https://github.com/aio-libs/async_lru Source: https://github.com/aio-libs/async-lru/archive/refs/tags/v%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-pytest BuildRequires: python3-pytest-asyncio BuildRequires: python3-pytest-timeout %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} # Removing pytest CLI options. Most of them are related to coverage. sed -i "/addopts/d" setup.cfg %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files async_lru %check %pytest %files -n python3-async-lru -f %{pyproject_files} %doc README.rst %changelog ## START: Generated by rpmautospec * Fri Jul 19 2024 Fedora Release Engineering - 2.0.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 2.0.4-4 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 2.0.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 2.0.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jul 31 2023 Lumir Balhar - 2.0.4-1 - Update to 2.0.4 (rhbz#2227096) * Fri Jul 21 2023 Fedora Release Engineering - 2.0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Mon Jul 17 2023 Lumir Balhar - 2.0.3-1 - Update to 2.0.3 (rhbz#2221301), SPDX * Wed Jun 14 2023 Python Maint - 2.0.1-2 - Rebuilt for Python 3.12 * Thu Feb 23 2023 Lumir Balhar - 2.0.1-1 - Update to 2.0.1 (rhbz#2171288) * Fri Jan 20 2023 Fedora Release Engineering - 1.0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Dec 05 2022 Lumír Balhar - 1.0.3-1 - Initial package ## END: Generated by rpmautospec