Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-cachey for openSUSE:Factory 
checked in at 2025-05-20 09:32:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cachey (Old)
 and      /work/SRC/openSUSE:Factory/.python-cachey.new.30101 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-cachey"

Tue May 20 09:32:43 2025 rev:4 rq:1277828 version:0.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cachey/python-cachey.changes      
2022-10-14 15:42:12.119884605 +0200
+++ /work/SRC/openSUSE:Factory/.python-cachey.new.30101/python-cachey.changes   
2025-05-20 09:34:54.997258874 +0200
@@ -1,0 +2,5 @@
+Thu May 15 12:46:20 UTC 2025 - Markéta Machová <mmach...@suse.com>
+
+- Convert to pip-based build
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-cachey.spec ++++++
--- /var/tmp/diff_new_pack.8QJPc0/_old  2025-05-20 09:34:55.593283769 +0200
+++ /var/tmp/diff_new_pack.8QJPc0/_new  2025-05-20 09:34:55.597283937 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-cachey
 #
-# Copyright (c) 2022 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,8 +16,6 @@
 #
 
 
-%define skip_python2 1
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-cachey
 Version:        0.2.1
 Release:        0
@@ -27,8 +25,10 @@
 URL:            https://github.com/mrocklin/cachey/
 Source:         
https://files.pythonhosted.org/packages/source/c/cachey/cachey-%{version}.tar.gz
 BuildRequires:  %{python_module HeapDict}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-HeapDict
@@ -55,17 +55,18 @@
 %setup -q -n cachey-%{version}
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} 
py.test-%{$python_bin_suffix} -v
+%pytest
 
 %files %{python_files}
 %license LICENSE.txt
 %doc README.md
-%{python_sitelib}/*
+%{python_sitelib}/cachey
+%{python_sitelib}/cachey-%{version}*-info
 

Reply via email to