Accepting request 789658 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/789658 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Bottleneck?expand=0&rev=9
This commit is contained in:
commit
c5afc1736e
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 30 07:02:07 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
- Require numpy 1.16.0, removing Python 2 support which provides
|
||||||
|
a lower version
|
||||||
|
- Activate test suite
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Mar 14 15:57:22 UTC 2020 - Arun Persaud <arun@gmx.de>
|
Sat Mar 14 15:57:22 UTC 2020 - Arun Persaud <arun@gmx.de>
|
||||||
|
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%define skip_python2 1
|
||||||
Name: python-Bottleneck
|
Name: python-Bottleneck
|
||||||
Version: 1.3.2
|
Version: 1.3.2
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -25,15 +26,16 @@ License: BSD-2-Clause AND BSD-3-Clause
|
|||||||
URL: http://berkeleyanalytics.com/bottleneck/
|
URL: http://berkeleyanalytics.com/bottleneck/
|
||||||
Source0: https://files.pythonhosted.org/packages/source/B/Bottleneck/Bottleneck-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/B/Bottleneck/Bottleneck-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module devel}
|
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: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-numpy >= 1.9.1
|
Requires: python-numpy >= 1.16.0
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%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
|
%prep
|
||||||
%setup -q -n Bottleneck-%{version}
|
%setup -q -n Bottleneck-%{version}
|
||||||
@ -46,6 +48,10 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
|
|||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
|
|
||||||
|
%check
|
||||||
|
export PYTHONDONTWRITEBYTECODE=1
|
||||||
|
%pytest_arch %{buildroot}%{$python_sitearch}/bottleneck/tests/
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.rst RELEASE.rst
|
%doc README.rst RELEASE.rst
|
||||||
|
Loading…
Reference in New Issue
Block a user