2024-01-06 11:31:46 +01:00
|
|
|
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
2024-01-06 11:31:41 +01:00
|
|
|
Name: python-numpy
|
2024-12-09 23:07:34 +01:00
|
|
|
Version: 2.2.0
|
|
|
|
Release: 1mamba
|
2024-01-06 11:31:42 +01:00
|
|
|
Summary: NumPy: Scientific computing with Python NumPy
|
2024-01-06 11:31:41 +01:00
|
|
|
Group: System/Libraries/Python
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 11:31:43 +01:00
|
|
|
URL: https://numpy.org/
|
2024-01-06 11:31:46 +01:00
|
|
|
Source: https://pypi.debian.net/numpy/numpy-%{version}.tar.gz
|
2024-01-06 11:31:41 +01:00
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 11:31:46 +01:00
|
|
|
BuildRequires: libgcc
|
2024-01-06 11:31:43 +01:00
|
|
|
BuildRequires: libopenblas-devel
|
2024-01-06 11:31:46 +01:00
|
|
|
BuildRequires: libpython311-devel
|
2024-06-20 18:17:30 +02:00
|
|
|
BuildRequires: libstdc++6-devel
|
2024-01-06 11:31:43 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 11:31:46 +01:00
|
|
|
BuildRequires: python3-devel >= 3.11.5-3mamba
|
2024-01-06 11:31:43 +01:00
|
|
|
BuildRequires: libblas-devel >= 3.9.0
|
2024-01-06 11:31:42 +01:00
|
|
|
%ifnarch arm aarch64
|
2024-01-06 11:31:42 +01:00
|
|
|
BuildRequires: libquadmath-devel
|
|
|
|
%endif
|
|
|
|
BuildRequires: liblapack-devel
|
2024-01-06 11:31:41 +01:00
|
|
|
BuildRequires: gcc-fortran
|
2024-01-06 11:31:46 +01:00
|
|
|
BuildRequires: patchelf
|
2024-01-06 11:31:44 +01:00
|
|
|
BuildRequires: python-Cython-py3
|
2024-01-06 11:31:46 +01:00
|
|
|
BuildRequires: python-pyproject-metadata-py3
|
2024-01-06 11:31:41 +01:00
|
|
|
|
|
|
|
%description
|
2024-01-06 11:31:42 +01:00
|
|
|
NumPy is the fundamental package needed for scientific computing with Python.
|
|
|
|
It contains among other things:
|
|
|
|
* a powerful N-dimensional array object
|
|
|
|
* sophisticated (broadcasting) functions
|
|
|
|
* tools for integrating C/C++ and Fortran code
|
|
|
|
* useful linear algebra, Fourier transform, and random number capabilities.
|
|
|
|
|
|
|
|
Besides its obvious scientific uses, NumPy can also be used as an efficient multi-dimensional container of generic data.
|
|
|
|
Arbitrary data-types can be defined.
|
|
|
|
This allows NumPy to seamlessly and speedily integrate with a wide variety of databases.
|
|
|
|
|
|
|
|
%if 0%{?with_pyver}
|
2024-01-06 11:31:46 +01:00
|
|
|
%define py_requires_append \
|
2024-08-19 00:12:03 +02:00
|
|
|
Obsoletes: python-numpy-devel < 1.26.0-2mamba \
|
|
|
|
Obsoletes: python-numeric <= 24.2-3mamba \
|
|
|
|
Obsoletes: python-numeric-devel <= 24.2-3mamba
|
2024-01-06 11:31:42 +01:00
|
|
|
%pyver_package
|
|
|
|
%endif
|
2024-01-06 11:31:41 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n numpy-%{version}
|
|
|
|
|
|
|
|
%build
|
2024-01-06 11:31:46 +01:00
|
|
|
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
|
2024-01-06 11:31:41 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 11:31:46 +01:00
|
|
|
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
|
2024-01-06 11:31:41 +01:00
|
|
|
|
2024-01-06 11:31:46 +01:00
|
|
|
%if "%{?with_pyver}" != "3"
|
|
|
|
# Rename any conflicting file outside of python site packages tree
|
2024-06-20 18:17:30 +02:00
|
|
|
for f in %{_bindir}/{f2py,numpy-config}; do
|
2024-01-06 11:31:46 +01:00
|
|
|
mv %{buildroot}${f}{,-%{?pyappend}}
|
|
|
|
done
|
|
|
|
%endif
|
2024-01-06 11:31:42 +01:00
|
|
|
|
2024-01-06 11:31:46 +01:00
|
|
|
%if "%{?with_pyver}" == "3"
|
2024-01-06 11:31:42 +01:00
|
|
|
install -d -m0755 %{buildroot}%{_includedir}
|
2024-11-24 14:52:03 +01:00
|
|
|
ln -s %{python_sitearch}/numpy/_core/include/numpy %{buildroot}%{_includedir}/numpy
|
2024-01-06 11:31:42 +01:00
|
|
|
%endif
|
|
|
|
|
2024-01-06 11:31:41 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-06 11:31:42 +01:00
|
|
|
%files %{?pyappend}
|
2024-01-06 11:31:41 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/f2py*
|
2024-06-20 18:17:30 +02:00
|
|
|
%{_bindir}/numpy-config*
|
2024-01-06 11:31:46 +01:00
|
|
|
%dir %{python_sitearch}/numpy-%{version}.dist-info
|
|
|
|
%{python_sitearch}/numpy-%{version}.dist-info/*
|
2024-01-06 11:31:41 +01:00
|
|
|
%dir %{python_sitearch}/numpy
|
|
|
|
%{python_sitearch}/numpy/*
|
2024-01-06 11:31:46 +01:00
|
|
|
%if "%{?with_pyver}" == "3"
|
2024-01-06 11:31:42 +01:00
|
|
|
%{_includedir}/numpy
|
|
|
|
%endif
|
|
|
|
|
2024-01-06 11:31:41 +01:00
|
|
|
%changelog
|
2024-12-09 23:07:34 +01:00
|
|
|
* Mon Dec 09 2024 Automatic Build System <autodist@openmamba.org> 2.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-11-24 14:52:03 +01:00
|
|
|
* Sat Nov 23 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.3-2mamba
|
|
|
|
- fixed %{_includedir}/numpy symlink to includes
|
|
|
|
|
2024-11-03 22:17:35 +01:00
|
|
|
* Sun Nov 03 2024 Automatic Build System <autodist@openmamba.org> 2.1.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-10-06 21:13:57 +02:00
|
|
|
* Sun Oct 06 2024 Automatic Build System <autodist@openmamba.org> 2.1.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-09-04 10:39:42 +02:00
|
|
|
* Wed Sep 04 2024 Automatic Build System <autodist@openmamba.org> 2.1.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-08-19 18:29:11 +02:00
|
|
|
* Mon Aug 19 2024 Automatic Build System <autodist@openmamba.org> 2.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-08-19 00:12:03 +02:00
|
|
|
* Thu Aug 15 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.1-2mamba
|
|
|
|
- obsolete python-numeric[-devel]
|
|
|
|
|
2024-07-22 10:41:13 +02:00
|
|
|
* Sun Jul 21 2024 Automatic Build System <autodist@openmamba.org> 2.0.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-06-20 18:17:30 +02:00
|
|
|
* Wed Jun 19 2024 Automatic Build System <autodist@openmamba.org> 2.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:31:50 +01:00
|
|
|
* Wed Jan 03 2024 Automatic Build System <autodist@mambasoft.it> 1.26.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:31:48 +01:00
|
|
|
* Mon Nov 13 2023 Automatic Build System <autodist@mambasoft.it> 1.26.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:31:47 +01:00
|
|
|
* Sun Oct 15 2023 Automatic Build System <autodist@mambasoft.it> 1.26.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:31:46 +01:00
|
|
|
* 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
|
|
|
|
|
2024-01-06 11:31:44 +01:00
|
|
|
* Fri Aug 19 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.21.5-2mamba
|
|
|
|
- rebuilt with python 3.10
|
|
|
|
|
2024-01-06 11:31:44 +01:00
|
|
|
* Tue Dec 21 2021 Automatic Build System <autodist@mambasoft.it> 1.21.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:31:44 +01:00
|
|
|
* Fri Nov 05 2021 Automatic Build System <autodist@mambasoft.it> 1.21.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:31:44 +01:00
|
|
|
* Thu Oct 21 2021 Automatic Build System <autodist@mambasoft.it> 1.21.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:31:43 +01:00
|
|
|
* Mon Aug 16 2021 Automatic Build System <autodist@mambasoft.it> 1.21.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:31:43 +01:00
|
|
|
* Mon Jul 19 2021 Automatic Build System <autodist@mambasoft.it> 1.21.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:31:43 +01:00
|
|
|
* Sat Jul 10 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.21.0-1mamba
|
|
|
|
- update to 1.21.0
|
|
|
|
|
2024-01-06 11:31:43 +01:00
|
|
|
* Tue May 11 2021 Automatic Build System <autodist@mambasoft.it> 1.20.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:31:43 +01:00
|
|
|
* Mon Apr 05 2021 Automatic Build System <autodist@mambasoft.it> 1.20.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Mar 24 2021 Automatic Build System <autodist@mambasoft.it> 1.20.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:31:42 +01:00
|
|
|
* Wed Nov 27 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.16.5-1mamba
|
|
|
|
- update to 1.16.5
|
|
|
|
|
2024-01-06 11:31:42 +01:00
|
|
|
* Wed Aug 28 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.16.4-3mamba
|
|
|
|
- fix typo in numpy incllude directory symlink to %{_includedir}
|
|
|
|
|
2024-01-06 11:31:42 +01:00
|
|
|
* Sun Aug 18 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.16.4-2mamba
|
|
|
|
- rebuilt with -py3 package
|
|
|
|
|
2024-01-06 11:31:42 +01:00
|
|
|
* Wed May 29 2019 Automatic Build System <autodist@mambasoft.it> 1.16.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:31:42 +01:00
|
|
|
* Mon May 27 2019 Automatic Build System <autodist@mambasoft.it> 1.16.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:31:42 +01:00
|
|
|
* Mon Mar 18 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.16.2-2mamba
|
|
|
|
- py36: remove conflicting %{_bindir}/f2py
|
|
|
|
|
|
|
|
* Sun Mar 17 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.16.2-1mamba
|
|
|
|
- update to 1.16.2
|
|
|
|
|
2024-01-06 11:31:42 +01:00
|
|
|
* Thu Oct 06 2016 Automatic Build System <autodist@mambasoft.it> 1.11.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:31:42 +01:00
|
|
|
* Sun Jul 03 2016 Automatic Build System <autodist@mambasoft.it> 1.11.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:31:42 +01:00
|
|
|
* Sat Apr 02 2016 Automatic Build System <autodist@mambasoft.it> 1.11.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:31:42 +01:00
|
|
|
* Thu Mar 17 2016 Davide Madrisan <davide.madrisan@gmail.com> 1.10.4-2mamba
|
|
|
|
- update the specfile for python3 build
|
|
|
|
|
2024-01-06 11:31:42 +01:00
|
|
|
* Thu Jan 14 2016 Automatic Build System <autodist@mambasoft.it> 1.10.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:31:42 +01:00
|
|
|
* Tue Dec 15 2015 Automatic Build System <autodist@mambasoft.it> 1.10.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:31:41 +01:00
|
|
|
* Wed Oct 14 2015 Automatic Build System <autodist@mambasoft.it> 1.10.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:31:41 +01:00
|
|
|
* Sat Oct 10 2015 Automatic Build System <autodist@mambasoft.it> 1.10.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:31:41 +01:00
|
|
|
* Thu Mar 05 2015 Automatic Build System <autodist@mambasoft.it> 1.9.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:31:41 +01:00
|
|
|
* Wed Nov 12 2014 Automatic Build System <autodist@mambasoft.it> 1.9.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 11:31:41 +01:00
|
|
|
* Thu Sep 18 2014 Automatic Build System <autodist@mambasoft.it> 1.9.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:31:41 +01:00
|
|
|
* Wed Aug 27 2014 Automatic Build System <autodist@mambasoft.it> 1.8.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:31:41 +01:00
|
|
|
* Fri Apr 04 2014 Automatic Build System <autodist@mambasoft.it> 1.8.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Nov 01 2013 Automatic Build System <autodist@mambasoft.it> 1.8.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7.1-2mamba
|
|
|
|
- python 2.7 mass rebuild
|
|
|
|
|
|
|
|
* Tue Apr 16 2013 Automatic Build System <autodist@mambasoft.it> 1.7.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Feb 23 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7.0-2mamba
|
|
|
|
- spec updated to support multiple python versions
|
|
|
|
|
|
|
|
* Sun Feb 10 2013 Automatic Build System <autodist@mambasoft.it> 1.7.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Dec 16 2012 Automatic Build System <autodist@mambasoft.it> 1.6.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Nov 07 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.1-1mamba
|
|
|
|
- update to 1.4.1
|
|
|
|
|
|
|
|
* Sat Oct 17 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-1mamba
|
2024-01-06 11:31:42 +01:00
|
|
|
- package created by autospec
|