Script 'mail_helper' called by obssrc
Hello community,

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

Package is "python-phue"

Tue Jun  3 17:55:28 2025 rev:5 rq:1282264 version:1.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-phue/python-phue.changes  2022-04-06 
21:52:49.134658227 +0200
+++ /work/SRC/openSUSE:Factory/.python-phue.new.16005/python-phue.changes       
2025-06-03 17:56:22.608665003 +0200
@@ -1,0 +2,5 @@
+Tue Jun  3 11:17:50 UTC 2025 - Markéta Machová <mmach...@suse.com>
+
+- Convert to pip-based build
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-phue.spec ++++++
--- /var/tmp/diff_new_pack.i2ZC5v/_old  2025-06-03 17:56:24.644749425 +0200
+++ /var/tmp/diff_new_pack.i2ZC5v/_new  2025-06-03 17:56:24.656749923 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-phue
 #
-# 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,7 +16,6 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-phue
 Version:        1.1
 Release:        0
@@ -26,15 +25,16 @@
 URL:            https://github.com/studioimaginaire/phue
 # https://github.com/studioimaginaire/phue/issues/152
 Source0:        
https://github.com/studioimaginaire/phue/archive/1.1.tar.gz#/phue-%{version}.tar.gz
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+BuildArch:      noarch
 # SECTION test requirements
 BuildRequires:  %{python_module fixtures}
 BuildRequires:  %{python_module pytest}
 # /SECTION
-BuildArch:      noarch
-
 %python_subpackages
 
 %description
@@ -44,7 +44,7 @@
 %setup -q -n phue-%{version}
 
 %build
-%python_build
+%pyproject_wheel
 
 %check
 # https://github.com/studioimaginaire/phue/issues/196
@@ -52,19 +52,18 @@
 %pytest
 
 %install
-%python_install
+%pyproject_install
 %{python_expand chmod a+x %{buildroot}%{$python_sitelib}/phue.py
-sed -i "s|^#!/usr/bin/python$|#!%__$python|" 
%{buildroot}%{$python_sitelib}/phue.py
+sed -i "s|^#!%{_bindir}/python$|#!%__$python|" 
%{buildroot}%{$python_sitelib}/phue.py
 $python -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}
 $python -O -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}
 %fdupes %{buildroot}%{$python_sitelib}
 }
 
 %files %{python_files}
-%defattr(-,root,root,-)
 %doc *.md
 %license LICENSE
 %{python_sitelib}/phue.py*
-%{python_sitelib}/phue-%{version}-py*.egg-info
+%{python_sitelib}/phue-%{version}*-info
 %pycache_only %{python_sitelib}/__pycache__/phue*.py*
 

Reply via email to