Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pdd for openSUSE:Factory 
checked in at 2025-06-03 17:55:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pdd (Old)
 and      /work/SRC/openSUSE:Factory/.python-pdd.new.16005 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pdd"

Tue Jun  3 17:55:02 2025 rev:7 rq:1282229 version:1.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pdd/python-pdd.changes    2022-12-06 
14:23:50.381864336 +0100
+++ /work/SRC/openSUSE:Factory/.python-pdd.new.16005/python-pdd.changes 
2025-06-03 17:55:55.315533347 +0200
@@ -1,0 +2,5 @@
+Tue Jun  3 09:20:47 UTC 2025 - Markéta Machová <[email protected]>
+
+- Convert to pip-based build
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-pdd.spec ++++++
--- /var/tmp/diff_new_pack.udqCv0/_old  2025-06-03 17:55:55.995561543 +0200
+++ /var/tmp/diff_new_pack.udqCv0/_new  2025-06-03 17:55:55.999561709 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pdd
 #
-# 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
@@ -17,8 +17,6 @@
 
 
 # pdd is not available for Python 2
-%define skip_python2 1
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-pdd
 Version:        1.7
 Release:        0
@@ -28,13 +26,15 @@
 URL:            https://github.com/jarun/pdd
 Source:         
https://files.pythonhosted.org/packages/source/p/pdd/pdd-%{version}.tar.gz
 BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-python-dateutil
 Requires:       python-setuptools
-Requires(post): update-alternatives
-Requires(postun):update-alternatives
+Requires(post): alts
+Requires(postun): alts
 BuildArch:      noarch
 # SECTION test requirements
 BuildRequires:  %{python_module pytest}
@@ -52,10 +52,10 @@
 # this seems to be fixed in github (there is pdd instead of pdd.py,
 # what setup.py expects, if I have not missed anything)
 mv pdd.py pdd
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_clone -a %{buildroot}%{_bindir}/pdd
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
@@ -73,5 +73,7 @@
 %doc README.md CHANGELOG
 %license LICENSE
 %python_alternative %{_bindir}/pdd
-%{python_sitelib}/*
+%{python_sitelib}/pdd.py
+%{python_sitelib}/pdd-%{version}*-info
+%pycache_only %{python_sitelib}/__pycache__/pdd*
 

Reply via email to