Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-PyWavelets for 
openSUSE:Factory checked in at 2021-02-16 22:34:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-PyWavelets (Old)
 and      /work/SRC/openSUSE:Factory/.python-PyWavelets.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-PyWavelets"

Tue Feb 16 22:34:44 2021 rev:8 rq:872841 version:1.1.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-PyWavelets/python-PyWavelets.changes      
2020-02-22 18:59:48.853566760 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-PyWavelets.new.28504/python-PyWavelets.changes
   2021-02-16 22:34:59.373537929 +0100
@@ -1,0 +2,6 @@
+Mon Feb 15 23:15:43 UTC 2021 - Ben Greiner <[email protected]>
+
+- Skip python36 build: No python36-numpy anymore in Tumbleweed
+  NumPy 1.20 dropped support for Python 3.6 (NEP 29)
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-PyWavelets.spec ++++++
--- /var/tmp/diff_new_pack.6ksciA/_old  2021-02-16 22:34:59.921538658 +0100
+++ /var/tmp/diff_new_pack.6ksciA/_new  2021-02-16 22:34:59.921538658 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-PyWavelets
 #
-# 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
@@ -18,6 +18,8 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define         skip_python2 1
+# no python36-numpy in Tumbleweed (NEP 29)
+%define         skip_python36 1
 Name:           python-PyWavelets
 Version:        1.1.1
 Release:        0
@@ -28,16 +30,15 @@
 Source0:        
https://files.pythonhosted.org/packages/source/P/PyWavelets/PyWavelets-%{version}.tar.gz
 BuildRequires:  %{python_module Cython}
 BuildRequires:  %{python_module devel}
-BuildRequires:  %{python_module numpy-devel >= 1.9.1}
+BuildRequires:  %{python_module numpy-devel >= 1.13.3}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildRequires:  unzip
 # SECTION test requirements
-BuildRequires:  %{python_module nose}
 BuildRequires:  %{python_module pytest}
 # /SECTION
-Requires:       python-numpy >= 1.9.1
+Requires:       python-numpy >= 1.13.3
 Provides:       python-PyWavelets-doc = %{version}
 Obsoletes:      python-PyWavelets-doc < %{version}
 %python_subpackages
@@ -74,21 +75,14 @@
 
 %install
 %python_install
-
-%{python_expand pushd %{buildroot}%{$python_sitearch}
 # Fix wrong-script-interpreter
-sed -i "s|#!%{_bindir}/env python|#!%__$python|" pywt/tests/*.py
-# Deduplicating files can generate a RPMLINT warning for pyc mtime
-$python -m compileall -d %{$python_sitearch} pywt/tests/
-$python -O -m compileall -d %{$python_sitearch} pywt/tests/
-%fdupes .
-popd
-}
+%python_expand sed -i "s|#!%{_bindir}/env python.*$|#!%{_bindir}$python|" 
%{buildroot}%{$python_sitearch}/pywt/tests/*.py
+%python_compileall
+%python_expand %fdupes %{buildroot}%{$python_sitearch}
 
 %check
 mkdir temp
 mv pywt temp/pywt
-export PYTHONDONTWRITEBYTECODE=1
 # Accuracy is platform-dependent
 %pytest_arch --ignore=temp -k 'not test_accuracy_precomputed_cwt' 
%{buildroot}%{$python_sitearch}/pywt/
 mv temp/pywt pywt

Reply via email to