Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pyFFTW for openSUSE:Factory 
checked in at 2021-02-15 23:17:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyFFTW (Old)
 and      /work/SRC/openSUSE:Factory/.python-pyFFTW.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyFFTW"

Mon Feb 15 23:17:48 2021 rev:6 rq:871601 version:0.12.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyFFTW/python-pyFFTW.changes      
2020-02-04 19:57:35.093469686 +0100
+++ /work/SRC/openSUSE:Factory/.python-pyFFTW.new.28504/python-pyFFTW.changes   
2021-02-15 23:20:13.579747636 +0100
@@ -1,0 +2,8 @@
+Fri Feb 12 15:37:13 UTC 2021 - Ben Greiner <c...@bnavigator.de>
+
+- skip python36: NEP 29 makes python36-numpy and -scipy unavailable
+  in TW
+- Don't build inplace for tests, drop deprecated setup.py test
+  command
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-pyFFTW.spec ++++++
--- /var/tmp/diff_new_pack.jdhC2s/_old  2021-02-15 23:20:15.831750999 +0100
+++ /var/tmp/diff_new_pack.jdhC2s/_new  2021-02-15 23:20:15.835751005 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyFFTW
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,6 +17,8 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+# NEP29: python36-numpy and python36-scipy are not available for TW any longer
+%define skip_python36 1
 %ifarch %{ix86} x86_64
 %bcond_without  test
 %else
@@ -69,17 +71,17 @@
 %install
 %python_install
 %{python_expand find %{buildroot}%{$python_sitearch}/pyfftw/ -name "*.py" 
-exec sed -i "s|^#!/usr/bin/env python$|#!%__$python|" {} \; -exec grep -q 
"^#!%__$python$" {} \; -exec chmod a+x {} \;
-$python -m compileall -d %{$python_sitearch} 
%{buildroot}%{$python_sitearch}/pyfftw/
-$python -O -m compileall -d %{$python_sitearch} 
%{buildroot}%{$python_sitearch}/pyfftw/
+%python_compileall
 %fdupes %{buildroot}%{$python_sitearch}
 }
 
 %if %{with test}
 %check
-%{python_expand $python setup.py build_ext --inplace
-$python setup.py test
-$python setup.py clean
-}
+mkdir nomoduleimporttestdir
+cp -r test nomoduleimporttestdir/
+pushd nomoduleimporttestdir
+%pyunittest_arch -v
+popd
 %endif
 
 %files %{python_files}

Reply via email to