2024-01-06 11:31:41 +01:00
|
|
|
Name: python-numpy
|
2024-01-06 11:31:42 +01:00
|
|
|
Version: 1.16.4
|
2024-01-06 11:31:42 +01:00
|
|
|
Release: 3mamba
|
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>
|
|
|
|
URL: http://numpy.scipy.org
|
2024-01-06 11:31:42 +01:00
|
|
|
Source: https://pypi.debian.net/numpy/numpy-%{version}.zip
|
|
|
|
#Source: http://downloads.sourceforge.net/project/numpy/NumPy/%{version}/numpy-%{version}.zip
|
2024-01-06 11:31:41 +01:00
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 11:31:42 +01:00
|
|
|
BuildRequires: libblas-devel
|
|
|
|
%ifnarch arm
|
|
|
|
BuildRequires: libquadmath-devel
|
|
|
|
%endif
|
|
|
|
BuildRequires: liblapack-devel
|
2024-01-06 11:31:41 +01:00
|
|
|
BuildRequires: libpython-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: gcc-fortran
|
2024-01-06 11:31:42 +01:00
|
|
|
Requires: python >= %python_version
|
2024-01-06 11:31:41 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%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}
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
2024-01-06 11:31:41 +01:00
|
|
|
|
2024-01-06 11:31:42 +01:00
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: C header files provided by NumPy
|
|
|
|
Requires: python-numpy = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-06 11:31:41 +01:00
|
|
|
|
2024-01-06 11:31:42 +01:00
|
|
|
%description devel
|
|
|
|
C header files provided by NumPy.
|
2024-01-06 11:31:41 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n numpy-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%{__python} setup.py install \
|
|
|
|
--root="%{buildroot}" \
|
2024-01-06 11:31:42 +01:00
|
|
|
--install-headers=%{python_inc} \
|
2024-01-06 11:31:41 +01:00
|
|
|
--install-lib=%{python_sitearch}
|
|
|
|
|
2024-01-06 11:31:42 +01:00
|
|
|
#install -D -p -m 0644 doc/f2py/f2py.1 %{buildroot}%{_mandir}/man1/f2py%{pyver}.1
|
|
|
|
|
2024-01-06 11:31:42 +01:00
|
|
|
%if !0%{?with_pyver}
|
|
|
|
install -d -m0755 %{buildroot}%{_includedir}
|
2024-01-06 11:31:42 +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:42 +01:00
|
|
|
%if 0%{?with_pyver}
|
|
|
|
rm -f %{buildroot}%{_bindir}/f2py
|
|
|
|
%endif
|
2024-01-06 11:31:42 +01:00
|
|
|
|
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-01-06 11:31:42 +01:00
|
|
|
#%{_mandir}/man1/f2py*
|
2024-01-06 11:31:41 +01:00
|
|
|
%dir %{python_sitearch}/numpy
|
|
|
|
%{python_sitearch}/numpy/*
|
|
|
|
%{python_sitearch}/numpy-%{version}-py*.egg-info
|
|
|
|
|
2024-01-06 11:31:42 +01:00
|
|
|
%if !0%{?with_pyver}
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/numpy
|
|
|
|
%endif
|
|
|
|
|
2024-01-06 11:31:41 +01:00
|
|
|
%changelog
|
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
|