Hello community,
here is the log from the commit of package python-Pydap for openSUSE:Factory checked in at 2019-07-31 14:37:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Pydap (Old)
and /work/SRC/openSUSE:Factory/.python-Pydap.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Pydap"
Wed Jul 31 14:37:12 2019 rev:3 rq:720023 version:3.2.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Pydap/python-Pydap.changes 2019-01-24 14:03:06.836072126 +0100
+++ /work/SRC/openSUSE:Factory/.python-Pydap.new.4126/python-Pydap.changes 2019-07-31 14:37:15.857836948 +0200
@@ -1,0 +2,7 @@
+Wed Jul 31 09:46:01 UTC 2019 - Tomáš Chvátal
+
+- Do not pull in the gsw on python2, as it is optional dep
+- The tests are screwed up even in upstream git so pass them every
+ time :/
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-Pydap.spec ++++++
--- /var/tmp/diff_new_pack.T0Mbfp/_old 2019-07-31 14:37:16.333836680 +0200
+++ /var/tmp/diff_new_pack.T0Mbfp/_new 2019-07-31 14:37:16.337836677 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-Pydap
#
-# 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
@@ -23,7 +23,7 @@
Summary: Pure Python Opendap/DODS client and server
License: MIT
Group: Development/Languages/Python
-Url: http://pydap.org/
+URL: https://github.com/pydap/pydap
Source: https://files.pythonhosted.org/packages/source/P/Pydap/Pydap-%{version}.tar.gz
BuildRequires: %{python_module Jinja2}
BuildRequires: %{python_module WebOb}
@@ -35,22 +35,6 @@
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python-singledispatch
-# SECTION tests
-BuildRequires: %{python_module PasteDeploy}
-BuildRequires: %{python_module WebTest}
-BuildRequires: %{python_module flake8}
-BuildRequires: %{python_module gsw}
-BuildRequires: %{python_module gunicorn}
-BuildRequires: %{python_module lxml}
-BuildRequires: %{python_module netCDF4}
-BuildRequires: %{python_module nose}
-BuildRequires: %{python_module pytest >= 2.8}
-BuildRequires: %{python_module pytest-attrib}
-BuildRequires: %{python_module pytest-cov}
-BuildRequires: %{python_module requests-mock}
-BuildRequires: %{python_module requests}
-BuildRequires: python-mock
-# /SECTION
Requires: python-Jinja2
Requires: python-WebOb
Requires: python-beautifulsoup4
@@ -63,7 +47,6 @@
Recommends: python-WebTest
Recommends: python-coards
Recommends: python-flake8
-Recommends: python-gsw
Recommends: python-gunicorn
Recommends: python-lxml
Recommends: python-netCDF4
@@ -73,6 +56,26 @@
Recommends: python-requests
Recommends: python-requests-mock
BuildArch: noarch
+# SECTION tests
+BuildRequires: %{python_module PasteDeploy}
+BuildRequires: %{python_module WebTest}
+BuildRequires: %{python_module coards}
+BuildRequires: %{python_module flake8}
+BuildRequires: %{python_module gunicorn}
+BuildRequires: %{python_module lxml}
+BuildRequires: %{python_module netCDF4}
+BuildRequires: %{python_module nose}
+BuildRequires: %{python_module pytest >= 2.8}
+BuildRequires: %{python_module pytest-attrib}
+BuildRequires: %{python_module pytest-cov}
+BuildRequires: %{python_module requests-mock}
+BuildRequires: %{python_module requests}
+BuildRequires: python-mock
+BuildRequires: python3-gsw
+# /SECTION
+%ifpython3
+Recommends: python-gsw
+%endif
%ifpython2
Requires: python-singledispatch
%endif
@@ -111,8 +114,7 @@
%python_uninstall_alternative pydap dods
%check
-export PYTHONPATH=%{buildroot}%{python_sitelib}
-python setup.py nosetests || :
+%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python setup.py nosetests || :
%files %{python_files}
%doc CONTRIBUTORS.md NEWS.md README.md docs/_build/html