update the specfile for python3 build [release 1.10.4-2mamba;Thu Mar 17 2016]
This commit is contained in:
parent
37680ba53a
commit
5ec7d11d13
16
README.md
16
README.md
@ -1,11 +1,13 @@
|
|||||||
# python-numpy
|
# python-numpy
|
||||||
|
|
||||||
NumPy is the fundamental package needed for scientific computing with Python. It contains among other things:
|
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.
|
||||||
|
|
||||||
* a powerful N-dimensional array object
|
Besides its obvious scientific uses, NumPy can also be used as an efficient multi-dimensional container of generic data.
|
||||||
* sophisticated (broadcasting) functions
|
Arbitrary data-types can be defined.
|
||||||
* tools for integrating C/C++ and Fortran code
|
This allows NumPy to seamlessly and speedily integrate with a wide variety of databases.
|
||||||
* 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.
|
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Name: python-numpy
|
Name: python-numpy
|
||||||
Version: 1.10.4
|
Version: 1.10.4
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: NumPy: array processing for numbers, strings, records, and objects
|
Summary: NumPy: Scientific computing with Python NumPy
|
||||||
Group: System/Libraries/Python
|
Group: System/Libraries/Python
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
@ -11,32 +11,32 @@ Source: http://downloads.sourceforge.net/project/numpy/NumPy/%{version}/n
|
|||||||
License: BSD
|
License: BSD
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libblas-devel
|
||||||
|
%ifnarch arm
|
||||||
|
BuildRequires: libquadmath-devel
|
||||||
|
%endif
|
||||||
|
BuildRequires: liblapack-devel
|
||||||
BuildRequires: libpython-devel
|
BuildRequires: libpython-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: gcc-fortran
|
BuildRequires: gcc-fortran
|
||||||
%py_requires
|
Requires: python >= %python_version
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
%description
|
%description
|
||||||
NumPy is the fundamental package needed for scientific computing with Python. It contains among other things:
|
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.
|
||||||
|
|
||||||
* a powerful N-dimensional array object
|
Besides its obvious scientific uses, NumPy can also be used as an efficient multi-dimensional container of generic data.
|
||||||
* sophisticated (broadcasting) functions
|
Arbitrary data-types can be defined.
|
||||||
* tools for integrating C/C++ and Fortran code
|
This allows NumPy to seamlessly and speedily integrate with a wide variety of databases.
|
||||||
* 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
|
||||||
%if "%?with_pyver"
|
%endif
|
||||||
%define pyver %{with_pyver}
|
|
||||||
%define __python %(rpm --eval %{__python%{with_pyver}})
|
|
||||||
%define python_sitearch %(rpm --eval %{python%{with_pyver}_sitearch})
|
|
||||||
%define python_sitelib %(rpm --eval %{python%{with_pyver}_sitelib})
|
|
||||||
%define python_inc %(rpm --eval %{python%{with_pyver}_inc})
|
|
||||||
%define python_version %(rpm --eval %{python%{with_pyver}_version})
|
|
||||||
%define python_provides %(rpm --eval %{python%{with_pyver}_provides})
|
|
||||||
%define python_requires %(rpm --eval %{python%{with_pyver}_requires})
|
|
||||||
%define py_requires %(rpm --eval %{py%{with_pyver}_requires})
|
|
||||||
|
|
||||||
%package py%{pyver}
|
%package py%{pyver}
|
||||||
Group: System/Libraries/Python
|
Group: System/Libraries/Python
|
||||||
@ -44,15 +44,16 @@ Summary: NumPy: array processing for numbers, strings, records, and object
|
|||||||
%py_requires
|
%py_requires
|
||||||
|
|
||||||
%description py%{pyver}
|
%description py%{pyver}
|
||||||
NumPy is the fundamental package needed for scientific computing with Python. It contains among other things:
|
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.
|
||||||
|
|
||||||
* a powerful N-dimensional array object
|
Besides its obvious scientific uses, NumPy can also be used as an efficient multi-dimensional container of generic data.
|
||||||
* sophisticated (broadcasting) functions
|
Arbitrary data-types can be defined.
|
||||||
* tools for integrating C/C++ and Fortran code
|
This allows NumPy to seamlessly and speedily integrate with a wide variety of databases.
|
||||||
* 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.
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n numpy-%{version}
|
%setup -q -n numpy-%{version}
|
||||||
@ -64,24 +65,26 @@ CFLAGS="%{optflags}" %{__python} setup.py build
|
|||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%{__python} setup.py install \
|
%{__python} setup.py install \
|
||||||
--root="%{buildroot}" \
|
--root="%{buildroot}" \
|
||||||
--install-headers=%{_includedir}/python \
|
--install-headers=%{python_inc} \
|
||||||
--install-lib=%{python_sitearch}
|
--install-lib=%{python_sitearch}
|
||||||
|
|
||||||
|
install -D -p -m 0644 doc/f2py/f2py.1 %{buildroot}%{_mandir}/man1/f2py%{pyver}.1
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%if "%?with_pyver"
|
%files %{?pyappend}
|
||||||
%files py%{pyver}
|
|
||||||
%else
|
|
||||||
%files
|
|
||||||
%endif
|
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/f2py*
|
%{_bindir}/f2py*
|
||||||
|
%{_mandir}/man1/f2py*
|
||||||
%dir %{python_sitearch}/numpy
|
%dir %{python_sitearch}/numpy
|
||||||
%{python_sitearch}/numpy/*
|
%{python_sitearch}/numpy/*
|
||||||
%{python_sitearch}/numpy-%{version}-py*.egg-info
|
%{python_sitearch}/numpy-%{version}-py*.egg-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Mar 17 2016 Davide Madrisan <davide.madrisan@gmail.com> 1.10.4-2mamba
|
||||||
|
- update the specfile for python3 build
|
||||||
|
|
||||||
* Thu Jan 14 2016 Automatic Build System <autodist@mambasoft.it> 1.10.4-1mamba
|
* Thu Jan 14 2016 Automatic Build System <autodist@mambasoft.it> 1.10.4-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user