Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| c0d1945b0a | |||
| 76ae40352c |
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 7 06:50:11 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Switch to pyproject macros.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 3 03:17:36 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pytest-freezegun
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,7 +16,6 @@
|
||||
#
|
||||
|
||||
|
||||
%define skip_python2 1
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pytest-freezegun
|
||||
Version: 0.4.2
|
||||
@@ -28,7 +27,9 @@ Source: https://github.com/ktosiek/pytest-freezegun/archive/%{version}.t
|
||||
# PATCH-FIX-UPSTREAM gh#ktosiek/pytest-freezegun#39
|
||||
Patch0: use-packaging.patch
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-freezegun > 0.3
|
||||
@@ -47,10 +48,10 @@ Wrap tests with fixtures in freeze_time
|
||||
%autosetup -p1 -n pytest-freezegun-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@@ -61,6 +62,6 @@ Wrap tests with fixtures in freeze_time
|
||||
%license LICENSE
|
||||
%{python_sitelib}/pytest_freezegun.py
|
||||
%pycache_only %{python_sitelib}/__pycache__/pytest_freezegun*.pyc
|
||||
%{python_sitelib}/pytest_freezegun-%{version}*info
|
||||
%{python_sitelib}/pytest_freezegun-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user