|
@@ -5,7 +5,7 @@
|
|
|
|
|
|
Name: numpy
|
|
Name: numpy
|
|
Summary: A fast multidimensional array facility for Python
|
|
Summary: A fast multidimensional array facility for Python
|
|
-Version: 1.22.1
|
|
+Version: 1.23.4
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
Group: programming
|
|
Group: programming
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
@@ -14,7 +14,8 @@ Distribution: Vine Linux
|
|
License: BSD and Python and ASL 2.0
|
|
License: BSD and Python and ASL 2.0
|
|
URL: https://www.numpy.org/
|
|
URL: https://www.numpy.org/
|
|
Source0: https://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
|
Source0: https://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
|
-Source1: https://docs.scipy.org/doc/numpy/numpy-html-1.17.0.zip
|
|
+%define shortver %(echo %{version} | cut -d. -f 1-2)
|
|
|
|
+Source1: https://numpy.org/doc/%{shortver}/numpy-html.zip
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
@@ -106,9 +107,11 @@ EOF
|
|
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
|
|
+%set_build_flags
|
|
env OPENBLAS=%{_libdir} \
|
|
env OPENBLAS=%{_libdir} \
|
|
BLAS=%{_libdir} \
|
|
BLAS=%{_libdir} \
|
|
LAPACK=%{_libdir} CFLAGS="%{optflags}" \
|
|
LAPACK=%{_libdir} CFLAGS="%{optflags}" \
|
|
|
|
+ SETUPTOOLS_USE_DISTUTILS=stdlib
|
|
%{__python3} setup.py build
|
|
%{__python3} setup.py build
|
|
|
|
|
|
|
|
|
|
@@ -124,7 +127,8 @@ popd
|
|
env OPENBLAS=%{_libdir} \
|
|
env OPENBLAS=%{_libdir} \
|
|
FFTW=%{_libdir} BLAS=%{_libdir} \
|
|
FFTW=%{_libdir} BLAS=%{_libdir} \
|
|
LAPACK=%{_libdir} CFLAGS="%{optflags}" \
|
|
LAPACK=%{_libdir} CFLAGS="%{optflags}" \
|
|
- %{__python3} setup.py install --root %{buildroot}
|
|
+ SETUPTOOLS_USE_DISTUTILS=stdlib
|
|
|
|
+ %{__python3} setup.py install --root %{buildroot} --prefix=%{_prefix}
|
|
pushd %{buildroot}%{_bindir} &> /dev/null
|
|
pushd %{buildroot}%{_bindir} &> /dev/null
|
|
ln -s f2py3 f2py.numpy
|
|
ln -s f2py3 f2py.numpy
|
|
popd &> /dev/null
|
|
popd &> /dev/null
|
|
@@ -189,6 +193,8 @@ end
|
|
%{python3_sitearch}/%{name}/py.typed
|
|
%{python3_sitearch}/%{name}/py.typed
|
|
%{python3_sitearch}/%{name}/typing/
|
|
%{python3_sitearch}/%{name}/typing/
|
|
%{python3_sitearch}/%{name}/array_api/
|
|
%{python3_sitearch}/%{name}/array_api/
|
|
|
|
+%{python3_sitearch}/%{name}/_pyinstaller/
|
|
|
|
+%{python3_sitearch}/%{name}/_typing/
|
|
|
|
|
|
%files -n python3-numpy-f2py
|
|
%files -n python3-numpy-f2py
|
|
%{_bindir}/f2py
|
|
%{_bindir}/f2py
|
|
@@ -202,6 +208,9 @@ end
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Fri Oct 28 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.23.4-1
|
|
|
|
+- new upstream release.
|
|
|
|
+
|
|
* Tue Jan 25 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.22.1-1
|
|
* Tue Jan 25 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.22.1-1
|
|
- new upstream release.
|
|
- new upstream release.
|
|
|
|
|