Hello community,
here is the log from the commit of package python-Bottleneck for
openSUSE:Factory checked in at 2020-03-30 23:03:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Bottleneck (Old)
and /work/SRC/openSUSE:Factory/.python-Bottleneck.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Bottleneck"
Mon Mar 30 23:03:41 2020 rev:9 rq:789658 version:1.3.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Bottleneck/python-Bottleneck.changes
2020-03-16 10:19:23.887613136 +0100
+++
/work/SRC/openSUSE:Factory/.python-Bottleneck.new.3160/python-Bottleneck.changes
2020-03-30 23:03:42.624187010 +0200
@@ -1,0 +2,7 @@
+Mon Mar 30 07:02:07 UTC 2020 - John Vandenberg <[email protected]>
+
+- Require numpy 1.16.0, removing Python 2 support which provides
+ a lower version
+- Activate test suite
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-Bottleneck.spec ++++++
--- /var/tmp/diff_new_pack.sFso4X/_old 2020-03-30 23:03:43.168187320 +0200
+++ /var/tmp/diff_new_pack.sFso4X/_new 2020-03-30 23:03:43.176187324 +0200
@@ -17,6 +17,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define skip_python2 1
Name: python-Bottleneck
Version: 1.3.2
Release: 0
@@ -25,15 +26,16 @@
URL: http://berkeleyanalytics.com/bottleneck/
Source0:
https://files.pythonhosted.org/packages/source/B/Bottleneck/Bottleneck-%{version}.tar.gz
BuildRequires: %{python_module devel}
-BuildRequires: %{python_module numpy-devel >= 1.9.1}
+BuildRequires: %{python_module numpy-devel >= 1.16.0}
+BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-numpy >= 1.9.1
+Requires: python-numpy >= 1.16.0
%python_subpackages
%description
-Bottleneck is a collection of fast NumPy array functions written in C
+Bottleneck is a collection of fast NumPy array functions written in C.
%prep
%setup -q -n Bottleneck-%{version}
@@ -46,6 +48,10 @@
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
+%check
+export PYTHONDONTWRITEBYTECODE=1
+%pytest_arch %{buildroot}%{$python_sitearch}/bottleneck/tests/
+
%files %{python_files}
%license LICENSE
%doc README.rst RELEASE.rst