This commit is contained in:
Yaakov Selkowitz 2023-12-25 22:32:43 -05:00
parent 82c3521ddb
commit 4c5b5aa12c
3 changed files with 8 additions and 8 deletions

1
.gitignore vendored
View File

@ -94,3 +94,4 @@ numpy-1.4.1.tar.gz
/numpy-1.24.3.tar.gz
/numpy-1.24.4.tar.gz
/numpy-1.26.0.tar.gz
/numpy-1.26.2.tar.gz

View File

@ -19,8 +19,8 @@
%global modname numpy
Name: numpy
Version: 1.26.0
Release: 2%{?dist}
Version: 1.26.2
Release: 1%{?dist}
Epoch: 1
Summary: A fast multidimensional array facility for Python
@ -30,11 +30,6 @@ URL: http://www.numpy.org/
Source0: https://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
Source1: https://numpy.org/doc/%(echo %{version} | cut -d. -f1-2)/numpy-html.zip
Patch0: f2py_test.patch
Patch1: 24772.patch
Patch2: 24776.patch
# Python 3.13: Patch vendored meson to work around the removed functions from importlib.resources
# Upstream commit: https://github.com/numpy/meson/commit/7ade3828313dd437f4e2176ccbbc1ef52322de15
Patch3: don-t-use-the-removed-importlib.patch
# Python 3.13: Replace deprecated ctypes.ARRAY(item_type, size) with item_type * size
# Upstream PR: https://github.com/numpy/numpy/pull/25198
Patch4: replace-deprecated-ctypes.ARRAY.patch
@ -202,6 +197,7 @@ python3 runtests.py --no-build -- -ra -k 'not test_ppc64_ibm_double_double128 %{
%{python3_sitearch}/%{name}/py.typed
%{python3_sitearch}/%{name}/typing/
%{python3_sitearch}/%{name}/array_api/
%{python3_sitearch}/%{name}/_core/
%{python3_sitearch}/%{name}/_pyinstaller/
%{python3_sitearch}/%{name}/_typing/
%{python3_sitearch}/%{name}/_utils/
@ -218,6 +214,9 @@ python3 runtests.py --no-build -- -ra -k 'not test_ppc64_ibm_double_double128 %{
%changelog
* Tue Dec 26 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 1:1.26.2-1
- 1.26.2
* Mon Nov 20 2023 Gwyn Ciesla <gwync@protonmail.com> - 1:1.26.0-2
- Fix FTBFS with Python 3.13.

View File

@ -1,2 +1,2 @@
SHA512 (numpy-1.26.0.tar.gz) = 0d500c623b274a219740c78ae2febb32a2f167016a9ff529678526e6b3e89a5b732c41defa23460a5da6f7f89d4a7d827f44fa9a1334c78e204b00ce164fb40c
SHA512 (numpy-1.26.2.tar.gz) = 9986cd34dda921fbc152c3be0e39f003035787ea1e055452b9259d02c423d413080a0c7e4e19fd38d9e28f66d428719d6ebe784c24ae17249ff56494950daf4b
SHA512 (numpy-html.zip) = 9c38a65fd33be28cec9a27d2b23b50cb215fe7fd775f467a78a21f4649466868a24b6004ebf1b31e0eca62c2e5582e89923ff2bb4b3ae70dfa9292672e7b1eca