Accepting request 244202 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/244202 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpy?expand=0&rev=40
This commit is contained in:
parent
631b05e826
commit
be91075e0c
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3d722fc3ac922a34c50183683e828052cd9bb7e9134a95098441297d7ea1c7a9
|
||||
size 3794076
|
3
numpy-1.8.2.tar.gz
Normal file
3
numpy-1.8.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6d487fc724780d66746bde264ea71f5cd77d3a39e52ee2b073dcaed63bc669db
|
||||
size 3792998
|
@ -1,3 +1,22 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 11 10:09:38 UTC 2014 - toddrme2178@gmail.com
|
||||
|
||||
- Update to 1.8.2: Bugfix release
|
||||
* gh-4836: partition produces wrong results for multiple selections in equal ranges
|
||||
* gh-4656: Make fftpack._raw_fft threadsafe
|
||||
* gh-4628: incorrect argument order to _copyto in in np.nanmax, np.nanmin
|
||||
* gh-4642: Hold GIL for converting dtypes types with fields
|
||||
* gh-4733: fix np.linalg.svd(b, compute_uv=False)
|
||||
* gh-4853: avoid unaligned simd load on reductions on i386
|
||||
* gh-4722: Fix seg fault converting empty string to object
|
||||
* gh-4613: Fix lack of NULL check in array_richcompare
|
||||
* gh-4774: avoid unaligned access for strided byteswap
|
||||
* gh-650: Prevent division by zero when creating arrays from some buffers
|
||||
* gh-4602: ifort has issues with optimization flag O2, use O1
|
||||
- Switch to pypi download location
|
||||
- Changed Url to current home page
|
||||
- Minor spec file cleanups
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 14 05:24:31 UTC 2014 - arun@gmx.de
|
||||
|
||||
|
@ -17,16 +17,16 @@
|
||||
|
||||
|
||||
%define modname numpy
|
||||
Name: python-%{modname}-doc
|
||||
Name: python-numpy-doc
|
||||
%define docname numpydoc
|
||||
Version: 1.8.1
|
||||
Version: 1.8.2
|
||||
Release: 0
|
||||
%define docvers 0.4
|
||||
Url: http://sourceforge.net/projects/numpy
|
||||
Url: http://www.numpy.org/
|
||||
Summary: Documentation for python-numpy
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Libraries/Python
|
||||
Source: %{modname}-%{version}.tar.gz
|
||||
Source: https://pypi.python.org/packages/source/n/numpy/numpy-%{version}.tar.gz
|
||||
Patch0: numpy-buildfix.patch
|
||||
Patch1: numpy-double-double-le.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@ -67,9 +67,9 @@ basic linear algebra and random number generation.
|
||||
This package provides the documentation for NumPy
|
||||
|
||||
%package html
|
||||
Summary: HTML documentation for python-%{modname}
|
||||
Summary: HTML documentation for python-numpy
|
||||
Group: Development/Libraries/Python
|
||||
Recommends: python-%{modname} = %{version}
|
||||
Recommends: python-numpy = %{version}
|
||||
|
||||
%description html
|
||||
NumPy is a general-purpose array-processing package designed to
|
||||
@ -86,9 +86,9 @@ basic linear algebra and random number generation.
|
||||
This package provides the HTML documentation for NumPy
|
||||
|
||||
%package pdf
|
||||
Summary: PDF documentation for python-%{modname}
|
||||
Summary: PDF documentation for python-numpy
|
||||
Group: Development/Libraries/Python
|
||||
Recommends: python-%{modname} = %{version}
|
||||
Recommends: python-numpy = %{version}
|
||||
|
||||
%description pdf
|
||||
NumPy is a general-purpose array-processing package designed to
|
||||
@ -106,7 +106,7 @@ This package provides the PDF documentation for NumPy
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{modname}-%{version}
|
||||
%setup -q -n numpy-%{version}
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
@ -118,19 +118,19 @@ make dist PYVER=%{py_ver}
|
||||
%install
|
||||
# install the documentation
|
||||
cd doc
|
||||
mkdir -p %{buildroot}%{_docdir}/python-%{modname}/{html,pdf}
|
||||
tar -xzf build/dist.tar.gz -C %{buildroot}%{_docdir}/python-%{modname}/html
|
||||
mv %{buildroot}%{_docdir}/python-%{modname}/html/*.pdf %{buildroot}%{_docdir}/python-%{modname}/pdf/
|
||||
mkdir -p %{buildroot}%{_docdir}/python-numpy/{html,pdf}
|
||||
tar -xzf build/dist.tar.gz -C %{buildroot}%{_docdir}/python-numpy/html
|
||||
mv %{buildroot}%{_docdir}/python-numpy/html/*.pdf %{buildroot}%{_docdir}/python-numpy/pdf/
|
||||
|
||||
%fdupes %{buildroot}%{_docdir}/python-%{modname}/html/
|
||||
%fdupes %{buildroot}%{_docdir}/python-%{modname}/pdf/
|
||||
%fdupes %{buildroot}%{_docdir}/python-numpy/html/
|
||||
%fdupes %{buildroot}%{_docdir}/python-numpy/pdf/
|
||||
|
||||
%files html
|
||||
%defattr(-,root,root)
|
||||
%{_docdir}/python-%{modname}/html/
|
||||
%{_docdir}/python-numpy/html/
|
||||
|
||||
%files pdf
|
||||
%defattr(-,root,root)
|
||||
%{_docdir}/python-%{modname}/pdf/
|
||||
%{_docdir}/python-numpy/pdf/
|
||||
|
||||
%changelog
|
||||
|
@ -1,3 +1,22 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 11 10:09:38 UTC 2014 - toddrme2178@gmail.com
|
||||
|
||||
- Update to 1.8.2: Bugfix release
|
||||
* gh-4836: partition produces wrong results for multiple selections in equal ranges
|
||||
* gh-4656: Make fftpack._raw_fft threadsafe
|
||||
* gh-4628: incorrect argument order to _copyto in in np.nanmax, np.nanmin
|
||||
* gh-4642: Hold GIL for converting dtypes types with fields
|
||||
* gh-4733: fix np.linalg.svd(b, compute_uv=False)
|
||||
* gh-4853: avoid unaligned simd load on reductions on i386
|
||||
* gh-4722: Fix seg fault converting empty string to object
|
||||
* gh-4613: Fix lack of NULL check in array_richcompare
|
||||
* gh-4774: avoid unaligned access for strided byteswap
|
||||
* gh-650: Prevent division by zero when creating arrays from some buffers
|
||||
* gh-4602: ifort has issues with optimization flag O2, use O1
|
||||
- Switch to pypi download location
|
||||
- Changed Url to current home page
|
||||
- Minor spec file cleanups
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 14 05:23:39 UTC 2014 - arun@gmx.de
|
||||
|
||||
|
@ -18,15 +18,14 @@
|
||||
|
||||
%define with_atlas 0
|
||||
|
||||
%define modname numpy
|
||||
Name: python-%{modname}
|
||||
Version: 1.8.1
|
||||
Name: python-numpy
|
||||
Version: 1.8.2
|
||||
Release: 0
|
||||
Url: http://sourceforge.net/projects/numpy
|
||||
Url: http://www.numpy.org/
|
||||
Summary: NumPy array processing for numbers, strings, records and objects
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Libraries/Python
|
||||
Source: http://sourceforge.net/projects/numpy/files/NumPy/%{version}/%{modname}-%{version}.tar.gz
|
||||
Source: https://pypi.python.org/packages/source/n/numpy/numpy-%{version}.tar.gz
|
||||
Patch0: numpy-buildfix.patch
|
||||
Patch1: numpy-double-double-le.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@ -67,7 +66,7 @@ There are also basic facilities for discrete fourier transform,
|
||||
basic linear algebra and random number generation.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{modname} applications
|
||||
Summary: Development files for numpy applications
|
||||
Group: Development/Libraries/Python
|
||||
Requires: %{name} = %{version}
|
||||
Requires: blas-devel
|
||||
@ -84,10 +83,10 @@ Requires: libatlas3-devel
|
||||
%endif
|
||||
|
||||
%description devel
|
||||
This package contains files for developing applications using %{modname}.
|
||||
This package contains files for developing applications using numpy.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{modname}-%{version}
|
||||
%setup -q -n numpy-%{version}
|
||||
%patch0 -p1
|
||||
%patch1
|
||||
# Fix non-executable scripts
|
||||
@ -98,7 +97,7 @@ CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --root="%{buildroot}" --prefix="%{_prefix}"
|
||||
rm -rf %{buildroot}%{python_sitearch}/%{modname}/{,core,distutils,f2py,fft,ma,matrixlib,oldnumeric,polynomial,random,testing}/tests # Don't package testsuite
|
||||
rm -rf %{buildroot}%{python_sitearch}/numpy/{,core,distutils,f2py,fft,ma,matrixlib,oldnumeric,polynomial,random,testing}/tests # Don't package testsuite
|
||||
%if 0%{?suse_version}
|
||||
%fdupes -s %{buildroot}%{_prefix}
|
||||
%endif
|
||||
@ -107,20 +106,20 @@ rm -rf %{buildroot}%{python_sitearch}/%{modname}/{,core,distutils,f2py,fft,ma,ma
|
||||
%defattr(-,root,root)
|
||||
%doc *.txt
|
||||
%{_bindir}/f2py
|
||||
%{python_sitearch}/%{modname}/
|
||||
%{python_sitearch}/%{modname}-%{version}-py%{py_ver}.egg-info
|
||||
%exclude %{python_sitearch}/%{modname}/*/*/*.c
|
||||
%exclude %{python_sitearch}/%{modname}/*/*.h
|
||||
%exclude %{python_sitearch}/%{modname}/*/*/*.h
|
||||
%exclude %{python_sitearch}/%{modname}/*/*/*/*.h
|
||||
%exclude %{python_sitearch}/%{modname}/core/lib/libnpymath.a
|
||||
%{python_sitearch}/numpy/
|
||||
%{python_sitearch}/numpy-%{version}-py*.egg-info
|
||||
%exclude %{python_sitearch}/numpy/*/*/*.c
|
||||
%exclude %{python_sitearch}/numpy/*/*.h
|
||||
%exclude %{python_sitearch}/numpy/*/*/*.h
|
||||
%exclude %{python_sitearch}/numpy/*/*/*/*.h
|
||||
%exclude %{python_sitearch}/numpy/core/lib/libnpymath.a
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{python_sitearch}/%{modname}/*/*/*.c
|
||||
%{python_sitearch}/%{modname}/*/*.h
|
||||
%{python_sitearch}/%{modname}/*/*/*.h
|
||||
%{python_sitearch}/%{modname}/*/*/*/*.h
|
||||
%{python_sitearch}/%{modname}/core/lib/libnpymath.a
|
||||
%{python_sitearch}/numpy/*/*/*.c
|
||||
%{python_sitearch}/numpy/*/*.h
|
||||
%{python_sitearch}/numpy/*/*/*.h
|
||||
%{python_sitearch}/numpy/*/*/*/*.h
|
||||
%{python_sitearch}/numpy/core/lib/libnpymath.a
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user