Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-imagesize for 
openSUSE:Factory checked in at 2025-05-30 14:21:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-imagesize (Old)
 and      /work/SRC/openSUSE:Factory/.python-imagesize.new.25440 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-imagesize"

Fri May 30 14:21:45 2025 rev:11 rq:1280859 version:1.4.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-imagesize/python-imagesize.changes        
2023-04-22 22:01:23.413549981 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-imagesize.new.25440/python-imagesize.changes 
    2025-05-30 17:26:01.704998227 +0200
@@ -1,0 +2,5 @@
+Wed May 28 12:13:24 UTC 2025 - Markéta Machová <mmach...@suse.com>
+
+- Convert to pip-based build
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-imagesize.spec ++++++
--- /var/tmp/diff_new_pack.XoQ3NR/_old  2025-05-30 17:26:02.157016829 +0200
+++ /var/tmp/diff_new_pack.XoQ3NR/_new  2025-05-30 17:26:02.157016829 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-imagesize
 #
-# Copyright (c) 2023 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-%{**}}
 %{?sle15_python_module_pythons}
 Name:           python-imagesize
 Version:        1.4.1
@@ -26,13 +25,14 @@
 Group:          Development/Languages/Python
 URL:            https://github.com/shibukawa/imagesize_py
 Source:         
https://files.pythonhosted.org/packages/source/i/imagesize/imagesize-%{version}.tar.gz
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  python-rpm-macros
+BuildArch:      noarch
 # SECTION test requirements
 BuildRequires:  %{python_module pytest}
 # /SECTION
-BuildArch:      noarch
-
 %python_subpackages
 
 %description
@@ -48,16 +48,17 @@
 %setup -q -n imagesize-%{version}
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 
 %check
 rm -v test/test_get_filelike.py
 %pytest
 
 %files %{python_files}
-%{python_sitelib}/*
+%{python_sitelib}/imagesize
+%{python_sitelib}/imagesize-%{version}*-info
 %doc README.rst
 

Reply via email to