rebuilt with python3 == 3.11 [release 1.26.0-2mamba;Fri Sep 29 2023]
This commit is contained in:
parent
559cf072bb
commit
8d332f9788
@ -1,5 +1,6 @@
|
||||
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
||||
Name: python-numpy
|
||||
Version: 1.21.5
|
||||
Version: 1.26.0
|
||||
Release: 2mamba
|
||||
Summary: NumPy: Scientific computing with Python NumPy
|
||||
Group: System/Libraries/Python
|
||||
@ -7,22 +8,26 @@ Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://numpy.org/
|
||||
Source: https://pypi.debian.net/numpy/numpy-%{version}.zip
|
||||
Source: https://pypi.debian.net/numpy/numpy-%{version}.tar.gz
|
||||
License: BSD
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libopenblas-devel
|
||||
BuildRequires: libpython3-devel
|
||||
BuildRequires: python3.7dist(setuptools)
|
||||
BuildRequires: libpython311-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: python3-devel >= 3.11.5-3mamba
|
||||
BuildRequires: libblas-devel >= 3.9.0
|
||||
%ifnarch arm aarch64
|
||||
BuildRequires: libquadmath-devel
|
||||
%endif
|
||||
BuildRequires: liblapack-devel
|
||||
BuildRequires: gcc-fortran
|
||||
BuildRequires: patchelf
|
||||
BuildRequires: python-Cython-py3
|
||||
BuildRequires: python-Cython-py310
|
||||
BuildRequires: python-pyproject-metadata-py3
|
||||
BuildRequires: python-pyproject-metadata-py310
|
||||
|
||||
%description
|
||||
NumPy is the fundamental package needed for scientific computing with Python.
|
||||
@ -37,6 +42,8 @@ Arbitrary data-types can be defined.
|
||||
This allows NumPy to seamlessly and speedily integrate with a wide variety of databases.
|
||||
|
||||
%if 0%{?with_pyver}
|
||||
%define py_requires_append \
|
||||
Obsoletes: python-numpy-devel < 1.26.0-2mamba
|
||||
%pyver_package
|
||||
%endif
|
||||
|
||||
@ -52,48 +59,63 @@ C header files provided by NumPy.
|
||||
%setup -q -n numpy-%{version}
|
||||
|
||||
%build
|
||||
CFLAGS="%{optflags}" %{__python} setup.py build
|
||||
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%{__python} setup.py install \
|
||||
--root="%{buildroot}" \
|
||||
--install-headers=%{python_inc} \
|
||||
--install-lib=%{python_sitearch}
|
||||
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
|
||||
|
||||
#install -D -p -m 0644 doc/f2py/f2py.1 %{buildroot}%{_mandir}/man1/f2py%{pyver}.1
|
||||
%if "%{?with_pyver}" != "3"
|
||||
# Rename any conflicting file outside of python site packages tree
|
||||
for f in %{_bindir}/f2py; do
|
||||
mv %{buildroot}${f}{,-%{?pyappend}}
|
||||
done
|
||||
%endif
|
||||
|
||||
%if !0%{?with_pyver}
|
||||
%if "%{?with_pyver}" == "3"
|
||||
install -d -m0755 %{buildroot}%{_includedir}
|
||||
ln -s %{python_sitearch}/numpy/core/include/numpy %{buildroot}%{_includedir}/numpy
|
||||
%endif
|
||||
|
||||
%if "0%{?with_pyver}" != "03"
|
||||
rm -f %{buildroot}%{_bindir}/f2py
|
||||
%endif
|
||||
|
||||
%if "0%{?with_pyver}" != "03"
|
||||
rm -f %{buildroot}%{_bindir}/f2py3
|
||||
%endif
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files %{?pyappend}
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/f2py*
|
||||
#%{_mandir}/man1/f2py*
|
||||
%dir %{python_sitearch}/numpy-%{version}.dist-info
|
||||
%{python_sitearch}/numpy-%{version}.dist-info/*
|
||||
%dir %{python_sitearch}/numpy
|
||||
%{python_sitearch}/numpy/*
|
||||
%{python_sitearch}/numpy-%{version}-py*.egg-info
|
||||
|
||||
%if !0%{?with_pyver}
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%if "%{?with_pyver}" == "3"
|
||||
%{_includedir}/numpy
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Fri Sep 29 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.26.0-2mamba
|
||||
- rebuilt with python3 == 3.11
|
||||
|
||||
* Fri Sep 22 2023 Automatic Build System <autodist@mambasoft.it> 1.26.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Aug 01 2023 Automatic Build System <autodist@mambasoft.it> 1.25.2-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Jul 09 2023 Automatic Build System <autodist@mambasoft.it> 1.25.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Jun 18 2023 Automatic Build System <autodist@mambasoft.it> 1.25.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Mon Apr 24 2023 Automatic Build System <autodist@mambasoft.it> 1.24.3-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri Apr 14 2023 Automatic Build System <autodist@mambasoft.it> 1.24.2-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat Oct 08 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.23.3-1mamba
|
||||
- update to 1.23.3
|
||||
|
||||
* Fri Aug 19 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.21.5-2mamba
|
||||
- rebuilt with python 3.10
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user