Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-yafe for openSUSE:Factory 
checked in at 2024-03-05 18:51:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-yafe (Old)
 and      /work/SRC/openSUSE:Factory/.python-yafe.new.1770 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-yafe"

Tue Mar  5 18:51:10 2024 rev:3 rq:1155000 version:1.0.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-yafe/python-yafe.changes  2021-02-18 
20:53:04.507476805 +0100
+++ /work/SRC/openSUSE:Factory/.python-yafe.new.1770/python-yafe.changes        
2024-03-05 18:51:23.454631028 +0100
@@ -1,0 +2,6 @@
+Sun Mar  3 13:34:32 UTC 2024 - Ben Greiner <c...@bnavigator.de>
+
+- Build PEP517 wheel
+- Skip testing xarray on python 3.9: no longer available
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-yafe.spec ++++++
--- /var/tmp/diff_new_pack.4Iybjk/_old  2024-03-05 18:51:25.658711054 +0100
+++ /var/tmp/diff_new_pack.4Iybjk/_new  2024-03-05 18:51:25.674711635 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-yafe
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,10 +16,6 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define         skip_python2 1
-# NEP 29: NumPy 1.20 dropped support for Python 3.6, python36-numpy no longer 
in Tumbleweed
-%define         skip_python36 1
 Name:           python-yafe
 Version:        1.0.3
 Release:        0
@@ -27,7 +23,9 @@
 License:        GPL-3.0-only
 URL:            https://gitlab.lis-lab.fr/skmad-suite/yafe
 Source:         
https://files.pythonhosted.org/packages/source/y/yafe/yafe-%{version}.tar.gz
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-numpy
@@ -37,7 +35,7 @@
 BuildRequires:  %{python_module numpy}
 BuildRequires:  %{python_module pytest-randomly}
 BuildRequires:  %{python_module pytest}
-BuildRequires:  %{python_module xarray}
+BuildRequires:  %{python_module xarray if %python-base >= 3.10}
 # /SECTION
 %python_subpackages
 
@@ -51,10 +49,10 @@
 sed -i '/^\s*--cov/ d' setup.cfg
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
@@ -64,5 +62,5 @@
 %doc README.rst
 %license LICENSE.txt
 %{python_sitelib}/yafe
-%{python_sitelib}/yafe-%{version}*-info
+%{python_sitelib}/yafe-%{version}.dist-info
 

Reply via email to