Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-cma for openSUSE:Factory 
checked in at 2024-07-12 17:05:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cma (Old)
 and      /work/SRC/openSUSE:Factory/.python-cma.new.17339 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-cma"

Fri Jul 12 17:05:41 2024 rev:5 rq:1187018 version:3.3.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cma/python-cma.changes    2023-01-28 
19:00:56.119925950 +0100
+++ /work/SRC/openSUSE:Factory/.python-cma.new.17339/python-cma.changes 
2024-07-12 17:05:56.982998966 +0200
@@ -1,0 +2,7 @@
+Fri Jul 12 07:13:44 UTC 2024 - Steve Kowalik <steven.kowa...@suse.com>
+
+- Restrict numpy to < 2.
+- Switch to pyproject macros.
+- No more globs in %files.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-cma.spec ++++++
--- /var/tmp/diff_new_pack.YczMMn/_old  2024-07-12 17:05:57.667024098 +0200
+++ /var/tmp/diff_new_pack.YczMMn/_new  2024-07-12 17:05:57.671024246 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-cma
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 # Copyright (c) 2020 Christoph Junghans
 #
 # All modifications and additions to the file contributed by third parties
@@ -17,9 +17,6 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-# No numpy on 3.6
-%define skip_python36 1
 Name:           python-cma
 Version:        3.3.0
 Release:        0
@@ -28,11 +25,13 @@
 URL:            https://cma.gforge.inria.fr/cmaes_sourcecode_page.html
 Source0:        
https://github.com/CMA-ES/pycma/archive/r%{version}.tar.gz#/cma-%{version}.tar.gz
 BuildRequires:  %{python_module devel}
-BuildRequires:  %{python_module numpy-devel}
+BuildRequires:  %{python_module numpy-devel < 2}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:       python-numpy
+Requires:       python-numpy < 2
 Recommends:     python-matplotlib
 BuildArch:      noarch
 %python_subpackages
@@ -48,10 +47,10 @@
 sed -i '1d' cma/{bbobbenchmarks.py,purecma.py,test.py}
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
@@ -60,5 +59,6 @@
 %files %{python_files}
 %license LICENSE
 %doc README.md
-%{python_sitelib}/cma*
+%{python_sitelib}/cma
+%{python_sitelib}/cma-%{version}.dist-info
 

Reply via email to