Accepting request 1169156 from home:bnavigator:numpy

- Update to 1.3.8
  * Maintenance updates
- Pin to numpy < 2: Fails to build otherwise. Upstream is working
  on it.

OBS-URL: https://build.opensuse.org/request/show/1169156
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-Bottleneck?expand=0&rev=19
This commit is contained in:
Matej Cepl 2024-04-19 22:23:21 +00:00 committed by Git OBS Bridge
parent c80eb32db1
commit 3e2d8d4544
4 changed files with 20 additions and 11 deletions

BIN
Bottleneck-1.3.7.tar.gz (Stored with Git LFS)

Binary file not shown.

3
Bottleneck-1.3.8.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6780d896969ba7f53c8995ba90c87c548beb3db435dc90c60b9a10ed1ab4d868
size 103252

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Apr 19 11:14:59 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Update to 1.3.8
* Maintenance updates
- Pin to numpy < 2: Fails to build otherwise. Upstream is working
on it.
-------------------------------------------------------------------
Tue Mar 14 22:42:33 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-Bottleneck
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,9 +16,8 @@
#
%define skip_python2 1
Name: python-Bottleneck
Version: 1.3.7
Version: 1.3.8
Release: 0
Summary: A collection of fast NumPy array functions
License: BSD-2-Clause AND BSD-3-Clause
@ -26,12 +25,14 @@ URL: https://github.com/pydata/bottleneck
Source0: https://files.pythonhosted.org/packages/source/B/Bottleneck/Bottleneck-%{version}.tar.gz
Source99: python-Bottleneck.rpmlintrc
BuildRequires: %{python_module devel}
BuildRequires: %{python_module numpy-devel >= 1.16.0}
BuildRequires: %{python_module numpy-devel >= 1.16.0 with %python-numpy-devel < 2}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-numpy >= 1.16.0
Requires: (python-numpy >= 1.16.0 with python-numpy < 2)
%python_subpackages
%description
@ -42,10 +43,10 @@ Bottleneck is a collection of fast NumPy array functions written in C.
%build
export CFLAGS="%{optflags} -fno-strict-aliasing"
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
@ -57,6 +58,6 @@ donttest="(move_test and test_move)"
%license LICENSE
%doc README.rst RELEASE.rst
%{python_sitearch}/bottleneck/
%{python_sitearch}/Bottleneck-%{version}*-info
%{python_sitearch}/Bottleneck-%{version}.dist-info
%changelog