diff --git a/download b/download deleted file mode 100644 index 93942d13adbe9b20dbeaa779ca925e60f2ae23cc..0000000000000000000000000000000000000000 --- a/download +++ /dev/null @@ -1 +0,0 @@ -3f3995540a17854a29dc79f8eeecd832 numpy-1.24.4.tar.gz diff --git a/numpy-1.26.4.tar.gz b/numpy-1.26.4.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..386a50839432501d5dc2f4e861367f01c0130f8f Binary files /dev/null and b/numpy-1.26.4.tar.gz differ diff --git a/numpy.spec b/numpy.spec index 7bfe40bf4ffd118aacb3a952192557b7207f62e7..80a5f0ee92725f9662680eed5927af0692fde042 100644 --- a/numpy.spec +++ b/numpy.spec @@ -1,4 +1,4 @@ -%define anolis_release 2 +%define anolis_release 1 %bcond_with tests %global blaslib flexiblas @@ -6,7 +6,7 @@ Name: numpy Summary: A fast multidimensional array facility for Python -Version: 1.24.4 +Version: 1.26.4 Release: %{anolis_release}%{?dist} Epoch: 1 @@ -32,9 +32,12 @@ Provides: numpy = %{epoch}:%{version}-%{release} Obsoletes: numpy < 1:1.10.1-3 BuildRequires: gcc gcc-c++ gcc-gfortran +BuildRequires: chrpath +BuildRequires: ninja-build +BuildRequires: python3-meson-python BuildRequires: python3-devel python3-setuptools lapack-devel %{blaslib}-devel python3-Cython >= 0.29.30 %if %{with tests} -BuildRequires: python3-pytest python3-hypothesis python3-test +BuildRequires: python3-pytest python3-hypothesis python3-test python3-typing-extensions %endif %description -n python3-numpy @@ -101,6 +104,8 @@ env OPENBLAS=%{_libdir} FFTW=%{_libdir} BLAS=%{_libdir} LAPACK=%{_libdir} CFLAGS pushd %{buildroot}%{_bindir} &> /dev/null ln -s f2py3 f2py.numpy +ln -s f2py f2py3 +ln -s f2py f2py%{python3_version} popd &> /dev/null mkdir -p %{buildroot}%{_includedir} @@ -121,9 +126,9 @@ python3 runtests.py \ %files -n python3-%{name} %license LICENSE.* +%doc THANKS.txt site.cfg.example %{python3_sitearch}/%{name}/__pycache__ %dir %{python3_sitearch}/%{name} -%{_includedir}/%{name} %{python3_sitearch}/%{name}/ma %{python3_sitearch}/%{name}/random %{python3_sitearch}/%{name}/testing @@ -139,14 +144,17 @@ python3 runtests.py \ %{python3_sitearch}/%{name}/matrixlib %{python3_sitearch}/%{name}/polynomial %{python3_sitearch}/%{name}-*.egg-info +%{_includedir}/%{name} %{python3_sitearch}/%{name}/__init__.pxd %{python3_sitearch}/%{name}/__init__.cython-30.pxd %{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/ %exclude %{python3_sitearch}/%{name}/LICENSE.txt +%{python3_sitearch}/%{name}/_utils/ %files -n python3-%{name}-f2py %{python3_sitearch}/%{name}/f2py @@ -159,6 +167,9 @@ python3 runtests.py \ %doc docs/* THANKS.* site.cfg.example %changelog +* Fri Mar 21 2025 Hong Wei Qin - 1.26.4-1 +- Update to 1.26.4-1 from 1.24.4-2 + * Wed Mar 13 2024 Zhao Hang - 1.24.4-2 - Rebuild with python3.11