Hello community,

here is the log from the commit of package python-gsw for openSUSE:Leap:15.2 
checked in at 2020-03-09 18:06:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-gsw (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-gsw.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-gsw"

Mon Mar  9 18:06:02 2020 rev:11 rq:776656 version:3.3.1

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-gsw/python-gsw.changes  2020-01-15 
15:49:10.283450987 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.python-gsw.new.26092/python-gsw.changes       
2020-03-09 18:06:02.948837876 +0100
@@ -1,0 +2,47 @@
+Wed Apr 24 05:47:33 UTC 2019 - [email protected]
+
+- version update to 3.3.1
+  * Add optional args to p_from_z and z_from_p (#49).
+- github tar ball forever (#39)
+
+-------------------------------------------------------------------
+Wed Feb 20 14:27:16 CET 2019 - Matej Cepl <[email protected]>
+
+- Update to 3.3.0:
+  * Adds functions SP_salinometer, O2sol, and O2sol_SP_pt by
+    updating the C source. 
+  * Fixes a bug in handling of p_ref in geostrophy.
+  * Fixes a bug in distance when the pressure argument is
+    omitted.
+- Actually gh#TEOS-10/GSW-Python#40 can be worked around by
+  adding -ffloat-store to CFLAGS. Which I do now for i586 and
+  armv7l platforms.
+
+-------------------------------------------------------------------
+Thu Jul 26 13:56:17 UTC 2018 - [email protected]
+
+- Switch off test_check_function[cfcf71], which fails on 32bit archs
+  (gh#TEOS-10/GSW-Python#40).
+
+-------------------------------------------------------------------
+Thu Jul 26 13:21:09 UTC 2018 - [email protected]
+
+- Clean SPEC
+- Remove gsw_licence.html (license is inside the distribution tarball)
+- Add tests.tar.gz with tests from the upstream git repository and
+  enable tests
+
+-------------------------------------------------------------------
+Sat Jun  2 06:59:02 UTC 2018 - [email protected]
+
+- update to version 3.2.1, no changelog available, listing
+  relevant git commits:
+ * Fix bug in pchip_interp utility function. (#27)
+   A smoke test has been added for this function.
+   The function is an additional wrapper around the wrapped ufunc,
+   the core of which is in C, and it is not used internally.
+ * Make the code c/c++ compatible; eliminate source duplication. (#28)
+ * Cleanup: warnings and last reference to src2. (#32)
+  * This is a minor cleanup of the code generators and associated C.
+
+-------------------------------------------------------------------

Old:
----
  gsw-3.2.0.tar.gz
  gsw_licence.html

New:
----
  v3.3.1.tar.gz

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

Other differences:
------------------
++++++ python-gsw.spec ++++++
--- /var/tmp/diff_new_pack.Lr31M9/_old  2020-03-09 18:06:03.732838266 +0100
+++ /var/tmp/diff_new_pack.Lr31M9/_new  2020-03-09 18:06:03.732838266 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-gsw
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,18 +12,17 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 # 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
-Version:        3.2.0
+Version:        3.3.1
 Release:        0
 Summary:        Gibbs Seawater Oceanographic Package of TEOS-10
 # Note: Python code is MIT licensed
@@ -31,38 +30,47 @@
 # MATLAB function names and documentation are BSD-3-Clause licensed (see 
http://teos-10.org/pubs/gsw/html/gsw_licence.html)
 License:        MIT AND BSD-3-Clause
 Group:          Development/Languages/Python
-Url:            https://github.com/TEOS-10/GSW-python
-Source:         
https://files.pythonhosted.org/packages/source/g/gsw/gsw-%{version}.tar.gz
-Source1:        http://teos-10.org/pubs/gsw/html/gsw_licence.html
+URL:            https://github.com/TEOS-10/GSW-python
+# gh#TEOS-10/GSW-Python#39
+Source0:        
https://github.com/TEOS-10/GSW-Python/archive/v%{version}.tar.gz
 BuildRequires:  %{python_module devel >= 3.5}
 BuildRequires:  %{python_module numpy-devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
+Requires:       python-numpy
 # SECTION tests
 BuildRequires:  %{python_module pytest}
 # /SECTION
-Requires:       python-numpy
-%{python_subpackages}
+%python_subpackages
 
 %description
 Python implementation of the Thermodynamic Equation of
 Seawater 2010 (TEOS-10).
 
 %prep
-%setup -q -n gsw-%{version}
-cp %{SOURCE1} .
+%setup -q -n GSW-Python-%{version}
 
 %build
-export CFLAGS="%{optflags}"
-%{python_build}
+CFLAGS="%{optflags}"
+%ifarch i586 armv7l
+CFLAGS="$CFLAGS -ffloat-store"
+%endif
+export CFLAGS
+%python_build
 
 %install
-%{python_install}
+%python_install
 %{python_expand %fdupes %{buildroot}%{$python_sitearch}}
 
+# gh#TEOS-10/GSW-Python#40
+%check
+%{python_expand export PYTHONPATH=%{buildroot}%{python_sitearch}
+py.test-%{$python_bin_suffix} -v
+}
+
 %files %{python_files}
 %doc README.rst
-%doc LICENSE src/c_gsw/LICENSE gsw_licence.html
+%license LICENSE src/c_gsw/LICENSE
 %{python_sitearch}/*
 
 %changelog


Reply via email to