Name: python-token-bucket Version: 0.3.0 Release: 9%{?dist} Summary: A Token Bucket implementation License: ASL 2.0 URL: https://github.com/falconry/token-bucket Source0: %{url}/archive/refs/tags/%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel # Temporary, until https://github.com/falconry/token-bucket/pull/24 gets # merged upstream. Patch0: 0000-py312-imp.patch %global _description %{expand: The token-bucket package provides an implementation of the token bucket algorithm suitable for use in web applications for shaping or policing request rates. This implementation does not require the use of an independent timer thread to manage the bucket state. } %description %_description %package -n python3-token-bucket Summary: %{summary} %description -n python3-token-bucket %_description %prep %autosetup -p1 -n token-bucket-%{version} %generate_buildrequires %pyproject_buildrequires -t %build %pyproject_wheel %install %pyproject_install %pyproject_save_files token_bucket %check %tox %files -n python3-token-bucket -f %{pyproject_files} %doc README.rst %license LICENSE %changelog * Fri Jun 07 2024 Python Maint - 0.3.0-9 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 0.3.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.3.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.3.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 27 2023 Simon de Vlieger - 0.3.0-5 - Apply patch for Python 3.12 compatibility. * Wed Jun 14 2023 Python Maint - 0.3.0-4 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 0.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sun Feb 20 2022 supakeen - 0.3.0-1 - Initial version of the package.