Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-acoular for openSUSE:Factory 
checked in at 2021-01-31 16:52:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-acoular (Old)
 and      /work/SRC/openSUSE:Factory/.python-acoular.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-acoular"

Sun Jan 31 16:52:15 2021 rev:4 rq:867994 version:20.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-acoular/python-acoular.changes    
2020-11-04 18:31:40.664242761 +0100
+++ /work/SRC/openSUSE:Factory/.python-acoular.new.28504/python-acoular.changes 
2021-01-31 16:52:16.804725899 +0100
@@ -1,0 +2,7 @@
+Fri Jan 29 23:22:05 UTC 2021 - Ben Greiner <[email protected]>
+
+- Skip python36 build because Tumbleweed does not have
+  python36-scikit-learn and python36-scipy (NEP 29) 
+- rpmlint fixes
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-acoular.spec ++++++
--- /var/tmp/diff_new_pack.EWJKGc/_old  2021-01-31 16:52:17.340726673 +0100
+++ /var/tmp/diff_new_pack.EWJKGc/_new  2021-01-31 16:52:17.340726673 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-acoular
 #
-# 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
+# python36-scikit-learn and python36-scipy are not in Tumbleweed due to NEP 29
+%define         skip_python36 1
 %define                github_version 20.10
 Name:           python-acoular
 Version:        20.10
@@ -35,6 +37,7 @@
 Requires:       python-scipy >= 0.1.0
 Requires:       python-tables >= 3.4.4
 Requires:       python-traits >= 4.6.0
+Recommends:     python-traisui
 BuildArch:      noarch
 # SECTION test requirements
 BuildRequires:  %{python_module numba >= 0.40.0}
@@ -57,8 +60,10 @@
 
 %prep
 %setup -q -n acoular-%{github_version}
-sed -i -e '/^#!\//, 1d' acoular/fastFuncs.py
-# UNIX-incompatible test
+sed -i -e '1{/^#!/ d}' acoular/fastFuncs.py acoular/demo/acoular_demo.py 
acoular/tests/*.py
+# remove test scripts not applicable here
+rm acoular/tests/run_tests*.sh
+# Windows only load of the NIDAQmx dll
 rm acoular/nidaqimport.py
 
 %build
@@ -69,13 +74,13 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_expand $python -c 'import acoular';
 cd acoular/tests
-%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -m unittest 
discover -v -p "test_*.py"
+%pyunittest discover -v -p "test_*.py"
 
 %files %{python_files}
 %doc README.rst
 %license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/acoular
+%{python_sitelib}/acoular-%{version}*-info
 
 %changelog

Reply via email to