Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-formats for openSUSE:Factory 
checked in at 2025-05-27 18:43:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-formats (Old)
 and      /work/SRC/openSUSE:Factory/.python-formats.new.2732 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-formats"

Tue May 27 18:43:58 2025 rev:2 rq:1280575 version:0.1.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-formats/python-formats.changes    
2020-01-29 13:15:17.766075222 +0100
+++ /work/SRC/openSUSE:Factory/.python-formats.new.2732/python-formats.changes  
2025-05-27 18:44:07.945454864 +0200
@@ -1,0 +2,5 @@
+Tue May 27 13:07:59 UTC 2025 - Markéta Machová <mmach...@suse.com>
+
+- Convert to pip-based build
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-formats.spec ++++++
--- /var/tmp/diff_new_pack.usjmsv/_old  2025-05-27 18:44:08.517478934 +0200
+++ /var/tmp/diff_new_pack.usjmsv/_new  2025-05-27 18:44:08.517478934 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-formats
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 # Copyright (c) 2016-2020, Martin Hauke <mar...@gmx.de>
 #
 # All modifications and additions to the file contributed by third parties
@@ -17,7 +17,6 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-formats
 Version:        0.1.1
 Release:        0
@@ -28,7 +27,9 @@
 Source:         
https://files.pythonhosted.org/packages/source/f/formats/formats-%{version}.tar.gz
 Source1:        https://raw.githubusercontent.com/redodo/formats/master/LICENSE
 Source2:        
https://raw.githubusercontent.com/redodo/formats/master/test_formats.py
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildArch:      noarch
@@ -43,14 +44,14 @@
 cp %{SOURCE2} .
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_expand %python_exec -m unittest discover -v
+%pyunittest -v
 
 %files %{python_files}
 %license LICENSE

Reply via email to