1
0

Accepting request 873237 from home:bnavigator:branches:devel:languages:python:numeric

- Skip python36 build: NumPy 1.20 in Tumbleweed does not provide
  python36-numpy anymore (NEP 29).

OBS-URL: https://build.opensuse.org/request/show/873237
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-Bottleneck?expand=0&rev=9
This commit is contained in:
Markéta Machová 2021-02-18 14:44:53 +00:00 committed by Git OBS Bridge
parent dfc235dd9e
commit 513d05c12a
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Feb 17 22:59:05 UTC 2021 - Benjamin Greiner <code@bnavigator.de>
- Skip python36 build: NumPy 1.20 in Tumbleweed does not provide
python36-numpy anymore (NEP 29).
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 30 07:02:07 UTC 2020 - John Vandenberg <jayvdb@gmail.com> Mon Mar 30 07:02:07 UTC 2020 - John Vandenberg <jayvdb@gmail.com>

View File

@ -18,12 +18,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1 %define skip_python2 1
%define skip_python36 1
Name: python-Bottleneck Name: python-Bottleneck
Version: 1.3.2 Version: 1.3.2
Release: 0 Release: 0
Summary: A collection of fast NumPy array functions Summary: A collection of fast NumPy array functions
License: BSD-2-Clause AND BSD-3-Clause License: BSD-2-Clause AND BSD-3-Clause
URL: http://berkeleyanalytics.com/bottleneck/ URL: https://github.com/pydata/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.16.0} BuildRequires: %{python_module numpy-devel >= 1.16.0}
@ -49,7 +50,6 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
%python_expand %fdupes %{buildroot}%{$python_sitearch} %python_expand %fdupes %{buildroot}%{$python_sitearch}
%check %check
export PYTHONDONTWRITEBYTECODE=1
%pytest_arch %{buildroot}%{$python_sitearch}/bottleneck/tests/ %pytest_arch %{buildroot}%{$python_sitearch}/bottleneck/tests/
%files %{python_files} %files %{python_files}