Script 'mail_helper' called by obssrc
Hello community,

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

Package is "python-gsw"

Tue Jan 19 16:02:54 2021 rev:9 rq:864173 version:3.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-gsw/python-gsw.changes    2020-11-13 
18:59:56.486172032 +0100
+++ /work/SRC/openSUSE:Factory/.python-gsw.new.28504/python-gsw.changes 
2021-01-19 16:03:51.803530871 +0100
@@ -1,0 +2,5 @@
+Sun Jan 17 23:33:01 UTC 2021 - Benjamin Greiner <[email protected]>
+
+- Fix macro expansion for pytest call
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-gsw.spec ++++++
--- /var/tmp/diff_new_pack.OkfV49/_old  2021-01-19 16:03:52.339531677 +0100
+++ /var/tmp/diff_new_pack.OkfV49/_new  2021-01-19 16:03:52.343531683 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-gsw
 #
-# 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
@@ -16,9 +16,6 @@
 #
 
 
-# Note: this package is python3-only. There is a python2-compatible
-# version in the python2-gsw package.
-# Tests are not included in the source tarball
 %define skip_python2 1
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-gsw
@@ -31,7 +28,7 @@
 License:        MIT AND BSD-3-Clause
 Group:          Development/Languages/Python
 URL:            https://github.com/TEOS-10/GSW-python
-# gh#TEOS-10/GSW-Python#39
+# gh#TEOS-10/GSW-Python#39 -- Tests are not included in the source tarball
 Source0:        
https://github.com/TEOS-10/GSW-Python/archive/v%{version}.tar.gz
 BuildRequires:  %{python_module devel >= 3.5}
 BuildRequires:  %{python_module numpy-devel}
@@ -62,15 +59,12 @@
 %python_install
 %{python_expand %fdupes %{buildroot}%{$python_sitearch}}
 
-# gh#TEOS-10/GSW-Python#40
 %check
-%{python_expand export PYTHONPATH=%{buildroot}%{python_sitearch}
 %ifarch aarch64
-py.test-%{$python_bin_suffix} -v -k 'not test_check_function[cfcf72]'
-%else
-py.test-%{$python_bin_suffix} -v
+# gh#TEOS-10/GSW-Python#40 note that the failure moved from 72 to 68
+donttest+=" or (test_check_function and cfcf68)"
 %endif
-}
+%pytest_arch ${donttest:+-k "not (${donttest:4})"}
 
 %files %{python_files}
 %doc README.md

Reply via email to