## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 14; 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-pytest-freezegun Version: 0.4.2 Release: %autorelease Summary: Wrap pytest tests with fixtures in freeze_time License: MIT URL: https://github.com/ktosiek/pytest-freezegun Source0: %{url}/archive/%{version}/pytest-freezegun-%{version}.tar.gz BuildArch: noarch BuildRequires: pyproject-rpm-macros BuildRequires: python3-devel %global _description %{expand: This is a pytest plugin that let you wrap tests with fixtures in freeze_time. Features: - Freeze time in both the test and fixtures - Access the freezer when you need it} %description %_description %package -n python3-pytest-freezegun Summary: %{summary} %description -n python3-pytest-freezegun %_description %prep %autosetup -p1 -n pytest-freezegun-%{version} %generate_buildrequires # tox config contains coverage, so we'll execute pytest directly instead # since this a pytest plugin, pytetst is a runtime dependency anyway %pyproject_buildrequires -r %build %pyproject_wheel %install %pyproject_install %pyproject_save_files pytest_freezegun %check %pytest -v %files -n python3-pytest-freezegun -f %{pyproject_files} %doc README.rst CHANGELOG.md %license LICENSE %changelog ## START: Generated by rpmautospec * Fri Jul 19 2024 Fedora Release Engineering - 0.4.2-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 0.4.2-13 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 0.4.2-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.4.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.4.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jun 14 2023 Python Maint - 0.4.2-8 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 0.4.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.4.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.4.2-5 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.4.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.4.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.4.2-2 - Rebuilt for Python 3.10 * Tue May 18 2021 Miro HronĨok - 0.4.2-1 - Initial RPM package - Fixes rhbz#1961793 ## END: Generated by rpmautospec