diff --git a/Bottleneck-1.3.7.tar.gz b/Bottleneck-1.3.7.tar.gz deleted file mode 100644 index 84b15dd..0000000 --- a/Bottleneck-1.3.7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e1467e373ad469da340ed0ff283214d6531cc08bfdca2083361a3aa6470681f8 -size 103067 diff --git a/Bottleneck-1.3.8.tar.gz b/Bottleneck-1.3.8.tar.gz new file mode 100644 index 0000000..8cb20d1 --- /dev/null +++ b/Bottleneck-1.3.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6780d896969ba7f53c8995ba90c87c548beb3db435dc90c60b9a10ed1ab4d868 +size 103252 diff --git a/python-Bottleneck.changes b/python-Bottleneck.changes index 03a8ff8..bf9b09a 100644 --- a/python-Bottleneck.changes +++ b/python-Bottleneck.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Apr 19 11:14:59 UTC 2024 - Ben Greiner + +- 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 diff --git a/python-Bottleneck.spec b/python-Bottleneck.spec index 9e00f6b..8cc1bd3 100644 --- a/python-Bottleneck.spec +++ b/python-Bottleneck.spec @@ -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