forked from pool/python-numpy
Accepting request 724139 from devel:languages:python:numeric
Update to version 1.17.0 All packages broken by this update should be fixed now OBS-URL: https://build.opensuse.org/request/show/724139 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpy?expand=0&rev=81
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:7242be12a58fec245ee9734e625964b97cf7e3f2f7d016603f9e56660ce479c7
|
|
||||||
size 5122740
|
|
3
numpy-1.17.0.zip
Normal file
3
numpy-1.17.0.zip
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:951fefe2fb73f84c620bec4e001e80a80ddaa1b84dce244ded7f1e0cbe0ed34a
|
||||||
|
size 6486301
|
@@ -3,21 +3,21 @@
|
|||||||
@@ -49,7 +49,7 @@
|
@@ -49,7 +49,7 @@
|
||||||
"""Return True if the C compiler is GCC 4.x."""
|
"""Return True if the C compiler is GCC 4.x."""
|
||||||
cmd._check_compiler()
|
cmd._check_compiler()
|
||||||
body = """
|
body = textwrap.dedent("""
|
||||||
-int
|
- int
|
||||||
+void
|
+ void
|
||||||
main()
|
main()
|
||||||
{
|
{
|
||||||
#if (! defined __GNUC__) || (__GNUC__ < 4)
|
#if (! defined __GNUC__) || (__GNUC__ < 4)
|
||||||
|
|
||||||
--- a/numpy/distutils/command/install.py
|
--- a/numpy/distutils/command/install.py
|
||||||
+++ b/numpy/distutils/command/install.py
|
+++ b/numpy/distutils/command/install.py
|
||||||
@@ -69,7 +69,7 @@
|
@@ -69,7 +69,7 @@
|
||||||
need_rewrite = False
|
need_rewrite = False
|
||||||
for l in f:
|
for l in f:
|
||||||
l = l.rstrip()
|
l = l.rstrip()
|
||||||
- if ' ' in l:
|
- if ' ' in l:
|
||||||
+ if ' ' in l and '%dir ' not in l:
|
+ if ' ' in l and '%dir ' not in l:
|
||||||
need_rewrite = True
|
need_rewrite = True
|
||||||
l = '"%s"' % (l)
|
l = '"%s"' % (l)
|
||||||
lines.append(l)
|
lines.append(l)
|
||||||
|
@@ -1,3 +1,22 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 26 20:30:10 UTC 2019 - Todd R <toddrme2178@gmail.com>
|
||||||
|
|
||||||
|
- Update to version 1.17.0
|
||||||
|
Highlights
|
||||||
|
* A new extensible random module along with four selectable random number
|
||||||
|
generators and improved seeding designed for use in parallel processes has
|
||||||
|
been added. The currently available bit generators are MT19937, PCG64,
|
||||||
|
Philox, and SFC64.
|
||||||
|
* NumPy's FFT implementation was changed from fftpack to pocketfft, resulting
|
||||||
|
in faster, more accurate transforms and better handling of datasets of
|
||||||
|
prime length.
|
||||||
|
* New radix sort and timsort sorting methods. It is currently not possible to
|
||||||
|
choose which will be used, but they are hardwired to the datatype and used
|
||||||
|
when either ``stable`` or ``mergesort`` is passed as the method.
|
||||||
|
* Overriding numpy functions is now possible by default.
|
||||||
|
- Python 2 support has been dropped
|
||||||
|
- Rebase numpy-buildfix.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu May 30 06:51:14 UTC 2019 - Martin Liška <mliska@suse.cz>
|
Thu May 30 06:51:14 UTC 2019 - Martin Liška <mliska@suse.cz>
|
||||||
|
|
||||||
|
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
%global flavor @BUILD_FLAVOR@%{nil}
|
%global flavor @BUILD_FLAVOR@%{nil}
|
||||||
|
|
||||||
%define _ver 1_16_4
|
%define _ver 1_17_0
|
||||||
%define pname python-numpy
|
%define pname python-numpy
|
||||||
|
|
||||||
%bcond_with ringdisabled
|
%bcond_with ringdisabled
|
||||||
@@ -76,8 +76,9 @@ ExclusiveArch: do_not_build
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%define skip_python2 1
|
||||||
Name: %{package_name}
|
Name: %{package_name}
|
||||||
Version: 1.16.4
|
Version: 1.17.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: NumPy array processing for numbers, strings, records and objects
|
Summary: NumPy array processing for numbers, strings, records and objects
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
@@ -255,27 +256,27 @@ popd &> /dev/null
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root)
|
%doc README.md THANKS.txt
|
||||||
%doc *.txt
|
|
||||||
%python2_only %{p_bindir}/f2py2*
|
|
||||||
%python3_only %{p_bindir}/f2py3*
|
%python3_only %{p_bindir}/f2py3*
|
||||||
%python3_only %{p_bindir}/f2py
|
%python3_only %{p_bindir}/f2py
|
||||||
%if %{without hpc}
|
%if %{without hpc}
|
||||||
%{python_sitearch}/numpy/
|
%{python_sitearch}/numpy/
|
||||||
|
%{python_sitearch}/numpy/LICENSE.txt
|
||||||
%{python_sitearch}/numpy-%{version}-py*.egg-info
|
%{python_sitearch}/numpy-%{version}-py*.egg-info
|
||||||
%exclude %{python_sitearch}/numpy/*/*/*.c
|
%license %{python_sitearch}/numpy/LICENSE.txt
|
||||||
%exclude %{python_sitearch}/numpy/*/*.h
|
%exclude %{python_sitearch}/numpy/core/include/
|
||||||
%exclude %{python_sitearch}/numpy/*/*/*.h
|
%exclude %{python_sitearch}/numpy/distutils/mingw/gfortran_vs2003_hack.c
|
||||||
%exclude %{python_sitearch}/numpy/*/*/*/*.h
|
%exclude %{python_sitearch}/numpy/f2py/src/
|
||||||
%exclude %{python_sitearch}/numpy/core/lib/libnpymath.a
|
%exclude %{python_sitearch}/numpy/core/lib/libnpymath.a
|
||||||
%else
|
%else
|
||||||
%{p_python_sitearch}/numpy/
|
%{p_python_sitearch}/numpy/
|
||||||
|
%{p_python_sitearch}/numpy/LICENSE.txt
|
||||||
%{p_python_sitearch}/numpy-%{version}-py*.egg-info
|
%{p_python_sitearch}/numpy-%{version}-py*.egg-info
|
||||||
%exclude %{p_python_sitearch}/numpy/*/*/*.c
|
%license %{p_python_sitearch}/numpy/LICENSE.txt
|
||||||
%exclude %{p_python_sitearch}/numpy/*/*.h
|
%exclude %{p_python_sitearch}/numpy/core/include/
|
||||||
%exclude %{p_python_sitearch}/numpy/*/*/*.h
|
|
||||||
%exclude %{p_python_sitearch}/numpy/*/*/*/*.h
|
|
||||||
%exclude %{p_python_sitearch}/numpy/core/lib/libnpymath.a
|
%exclude %{p_python_sitearch}/numpy/core/lib/libnpymath.a
|
||||||
|
%exclude %{p_python_sitearch}/numpy/distutils/mingw/gfortran_vs2003_hack.c
|
||||||
|
%exclude %{p_python_sitearch}/numpy/f2py/src/
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with hpc}
|
%if %{with hpc}
|
||||||
@@ -288,20 +289,17 @@ popd &> /dev/null
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files %{python_files devel}
|
%files %{python_files devel}
|
||||||
%defattr(-,root,root)
|
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
%if %{without hpc}
|
%if %{without hpc}
|
||||||
%{python_sitearch}/numpy/*/*/*.c
|
%{python_sitearch}/numpy/core/include/
|
||||||
%{python_sitearch}/numpy/*/*.h
|
%{python_sitearch}/numpy/distutils/mingw/gfortran_vs2003_hack.c
|
||||||
%{python_sitearch}/numpy/*/*/*.h
|
%{python_sitearch}/numpy/f2py/src/
|
||||||
%{python_sitearch}/numpy/*/*/*/*.h
|
|
||||||
%{python_sitearch}/numpy/core/lib/libnpymath.a
|
%{python_sitearch}/numpy/core/lib/libnpymath.a
|
||||||
%else
|
%else
|
||||||
%{p_python_sitearch}/numpy/*/*/*.c
|
%{p_python_sitearch}/numpy/core/include/
|
||||||
%{p_python_sitearch}/numpy/*/*.h
|
|
||||||
%{p_python_sitearch}/numpy/*/*/*.h
|
|
||||||
%{p_python_sitearch}/numpy/*/*/*/*.h
|
|
||||||
%{p_python_sitearch}/numpy/core/lib/libnpymath.a
|
%{p_python_sitearch}/numpy/core/lib/libnpymath.a
|
||||||
|
%{p_python_sitearch}/numpy/distutils/mingw/gfortran_vs2003_hack.c
|
||||||
|
%{p_python_sitearch}/numpy/f2py/src/
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user