rebuilt with -py3 package [release 1.16.4-2mamba;Sun Aug 18 2019]

This commit is contained in:
Silvan Calarco 2024-01-06 11:31:42 +01:00
parent 199af003bd
commit 05d2a87e0a

View File

@ -1,6 +1,6 @@
Name: python-numpy
Version: 1.16.4
Release: 1mamba
Release: 2mamba
Summary: NumPy: Scientific computing with Python NumPy
Group: System/Libraries/Python
Vendor: openmamba
@ -39,23 +39,13 @@ This allows NumPy to seamlessly and speedily integrate with a wide variety of da
%pyver_package
%endif
%package py%{pyver}
Group: System/Libraries/Python
Summary: NumPy: array processing for numbers, strings, records, and objects
Obsoletes: python-numpy-py3
%py_requires
%package devel
Group: Development/Libraries
Summary: C header files provided by NumPy
Requires: python-numpy = %{?epoch:%epoch:}%{version}-%{release}
%description py%{pyver}
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.
%description devel
C header files provided by NumPy.
%prep
%setup -q -n numpy-%{version}
@ -72,6 +62,11 @@ CFLAGS="%{optflags}" %{__python} setup.py build
#install -D -p -m 0644 doc/f2py/f2py.1 %{buildroot}%{_mandir}/man1/f2py%{pyver}.1
%if !0%{?with_pyver}
install -d -m0755 %{buildroot}%{_includedir}
ln -s %{python_sitearch}/nnumpy/core/include/numpy %{buildroot}%{_includedir}/numpy
%endif
%if 0%{?with_pyver}
rm -f %{buildroot}%{_bindir}/f2py
%endif
@ -87,7 +82,16 @@ rm -f %{buildroot}%{_bindir}/f2py
%{python_sitearch}/numpy/*
%{python_sitearch}/numpy-%{version}-py*.egg-info
%if !0%{?with_pyver}
%files devel
%defattr(-,root,root)
%{_includedir}/numpy
%endif
%changelog
* Sun Aug 18 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.16.4-2mamba
- rebuilt with -py3 package
* Wed May 29 2019 Automatic Build System <autodist@mambasoft.it> 1.16.4-1mamba
- automatic version update by autodist