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 Name: python-numpy
Version: 1.16.4 Version: 1.16.4
Release: 1mamba Release: 2mamba
Summary: NumPy: Scientific computing with Python NumPy Summary: NumPy: Scientific computing with Python NumPy
Group: System/Libraries/Python Group: System/Libraries/Python
Vendor: openmamba Vendor: openmamba
@ -39,23 +39,13 @@ This allows NumPy to seamlessly and speedily integrate with a wide variety of da
%pyver_package %pyver_package
%endif %endif
%package py%{pyver} %package devel
Group: System/Libraries/Python Group: Development/Libraries
Summary: NumPy: array processing for numbers, strings, records, and objects Summary: C header files provided by NumPy
Obsoletes: python-numpy-py3 Requires: python-numpy = %{?epoch:%epoch:}%{version}-%{release}
%py_requires
%description py%{pyver} %description devel
NumPy is the fundamental package needed for scientific computing with Python. C header files provided by NumPy.
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.
%prep %prep
%setup -q -n numpy-%{version} %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 #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} %if 0%{?with_pyver}
rm -f %{buildroot}%{_bindir}/f2py rm -f %{buildroot}%{_bindir}/f2py
%endif %endif
@ -87,7 +82,16 @@ rm -f %{buildroot}%{_bindir}/f2py
%{python_sitearch}/numpy/* %{python_sitearch}/numpy/*
%{python_sitearch}/numpy-%{version}-py*.egg-info %{python_sitearch}/numpy-%{version}-py*.egg-info
%if !0%{?with_pyver}
%files devel
%defattr(-,root,root)
%{_includedir}/numpy
%endif
%changelog %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 * Wed May 29 2019 Automatic Build System <autodist@mambasoft.it> 1.16.4-1mamba
- automatic version update by autodist - automatic version update by autodist