17
0

2 Commits

2 changed files with 13 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu May 15 12:13:24 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Apr 21 12:22:58 UTC 2023 - Dirk Müller <dmueller@suse.com> Fri Apr 21 12:22:58 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-cached-property # spec file for package python-cached-property
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,6 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-cached-property Name: python-cached-property
Version: 1.5.2 Version: 1.5.2
@@ -32,8 +31,10 @@ Patch0: freezegun-skip.patch
# PATCH-FIX-UPSTREAM Don't use asyncio.coroutine if it's not available -- https://github.com/pydanny/cached-property/pull/267 # PATCH-FIX-UPSTREAM Don't use asyncio.coroutine if it's not available -- https://github.com/pydanny/cached-property/pull/267
Patch1: python311.patch Patch1: python311.patch
BuildRequires: %{python_module freezegun} BuildRequires: %{python_module freezegun}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildArch: noarch BuildArch: noarch
@@ -48,10 +49,10 @@ and 3.
%autosetup -p1 -n cached-property-%{version} %autosetup -p1 -n cached-property-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
@@ -60,6 +61,8 @@ and 3.
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE
%doc AUTHORS.rst README.rst HISTORY.rst %doc AUTHORS.rst README.rst HISTORY.rst
%{python_sitelib}/* %{python_sitelib}/cached[-_]property.py
%{python_sitelib}/cached[-_]property-%{version}*-info
%pycache_only %{python_sitelib}/__pycache__/cached[-_]property*
%changelog %changelog