[packages/python3-pytest-freezer] - updated to 0.4.9
qboosh
qboosh at pld-linux.org
Fri Nov 7 17:32:37 CET 2025
commit 5d059a28f91099e2a182e8816e2c4e685c5e6123
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Nov 7 17:32:39 2025 +0100
- updated to 0.4.9
python3-pytest-freezer.spec | 28 +++++++++++++---------------
1 file changed, 13 insertions(+), 15 deletions(-)
---
diff --git a/python3-pytest-freezer.spec b/python3-pytest-freezer.spec
index 19c170d..d64bd0e 100644
--- a/python3-pytest-freezer.spec
+++ b/python3-pytest-freezer.spec
@@ -5,22 +5,25 @@
Summary: Pytest plugin providing a fixture interface for freezegun
Summary(pl.UTF-8): Wtyczka pytesta dostarczająca wyposażenie będące interfejsem do modułu freezegun
Name: python3-pytest-freezer
-Version: 0.4.8
-Release: 3
+Version: 0.4.9
+Release: 1
License: MIT
Group: Libraries/Python
#Source0Download: https://pypi.org/simple/pytest-freezer/
Source0: https://files.pythonhosted.org/packages/source/p/pytest-freezer/pytest_freezer-%{version}.tar.gz
-# Source0-md5: b9c9051d17b55e4f9ea7b263ca22a18c
+# Source0-md5: 9a1183950d820d51d5e77548d009c542
URL: https://pypi.org/project/pytest-freezer/
+BuildRequires: python3-build
+BuildRequires: python3-flit_core >= 3.2
+BuildRequires: python3-flit_core < 4
+BuildRequires: python3-installer
BuildRequires: python3-modules >= 1:3.6
-BuildRequires: python3-setuptools >= 1:61
%if %{with tests}
-BuildRequires: python3-freezegun >= 1.0
+BuildRequires: python3-freezegun >= 1.1
BuildRequires: python3-pytest >= 3.6
%endif
BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.714
+BuildRequires: rpmbuild(macros) >= 2.044
Requires: python3-modules >= 1:3.6
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -35,13 +38,8 @@ freezegun.
%prep
%setup -q -n pytest_freezer-%{version}
-cat >setup.py <<EOF
-from setuptools import setup
-setup()
-EOF
-
%build
-%py3_build
+%py3_build_pyproject
%if %{with tests}
PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
@@ -52,14 +50,14 @@ PYTEST_PLUGINS=pytest_freezer \
%install
rm -rf $RPM_BUILD_ROOT
-%py3_install
+%py3_install_pyproject
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc LICENSE README.rst
+%doc LICENSE README.md
%{py3_sitescriptdir}/pytest_freezer.py
%{py3_sitescriptdir}/__pycache__/pytest_freezer.cpython-*.py[co]
-%{py3_sitescriptdir}/pytest_freezer-%{version}-py*.egg-info
+%{py3_sitescriptdir}/pytest_freezer-%{version}.dist-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-pytest-freezer.git/commitdiff/5d059a28f91099e2a182e8816e2c4e685c5e6123
More information about the pld-cvs-commit
mailing list