Hello community, here is the log from the commit of package python-numpy for openSUSE:Factory checked in at 2019-08-19 20:48:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-numpy (Old) and /work/SRC/openSUSE:Factory/.python-numpy.new.22127 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-numpy" Mon Aug 19 20:48:26 2019 rev:81 rq:724139 version:1.17.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-numpy/python-numpy.changes 2019-06-02 15:15:53.226091144 +0200 +++ /work/SRC/openSUSE:Factory/.python-numpy.new.22127/python-numpy.changes 2019-08-19 20:48:28.705084456 +0200 @@ -1,0 +2,19 @@ +Fri Jul 26 20:30:10 UTC 2019 - Todd R <toddrme2...@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 + +------------------------------------------------------------------- Old: ---- numpy-1.16.4.zip New: ---- numpy-1.17.0.zip ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-numpy.spec ++++++ --- /var/tmp/diff_new_pack.6CRNSK/_old 2019-08-19 20:48:29.529084279 +0200 +++ /var/tmp/diff_new_pack.6CRNSK/_new 2019-08-19 20:48:29.529084279 +0200 @@ -18,7 +18,7 @@ %global flavor @BUILD_FLAVOR@%{nil} -%define _ver 1_16_4 +%define _ver 1_17_0 %define pname python-numpy %bcond_with ringdisabled @@ -76,8 +76,9 @@ %endif %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: %{package_name} -Version: 1.16.4 +Version: 1.17.0 Release: 0 Summary: NumPy array processing for numbers, strings, records and objects License: BSD-3-Clause @@ -255,27 +256,27 @@ %endif %files %{python_files} -%defattr(-,root,root) -%doc *.txt -%python2_only %{p_bindir}/f2py2* +%doc README.md THANKS.txt %python3_only %{p_bindir}/f2py3* %python3_only %{p_bindir}/f2py %if %{without hpc} %{python_sitearch}/numpy/ +%{python_sitearch}/numpy/LICENSE.txt %{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 +%license %{python_sitearch}/numpy/LICENSE.txt +%exclude %{python_sitearch}/numpy/core/include/ +%exclude %{python_sitearch}/numpy/distutils/mingw/gfortran_vs2003_hack.c +%exclude %{python_sitearch}/numpy/f2py/src/ %exclude %{python_sitearch}/numpy/core/lib/libnpymath.a %else %{p_python_sitearch}/numpy/ +%{p_python_sitearch}/numpy/LICENSE.txt %{p_python_sitearch}/numpy-%{version}-py*.egg-info -%exclude %{p_python_sitearch}/numpy/*/*/*.c -%exclude %{p_python_sitearch}/numpy/*/*.h -%exclude %{p_python_sitearch}/numpy/*/*/*.h -%exclude %{p_python_sitearch}/numpy/*/*/*/*.h +%license %{p_python_sitearch}/numpy/LICENSE.txt +%exclude %{p_python_sitearch}/numpy/core/include/ %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 %if %{with hpc} @@ -288,20 +289,17 @@ %endif %files %{python_files devel} -%defattr(-,root,root) %license LICENSE.txt %if %{without hpc} -%{python_sitearch}/numpy/*/*/*.c -%{python_sitearch}/numpy/*/*.h -%{python_sitearch}/numpy/*/*/*.h -%{python_sitearch}/numpy/*/*/*/*.h +%{python_sitearch}/numpy/core/include/ +%{python_sitearch}/numpy/distutils/mingw/gfortran_vs2003_hack.c +%{python_sitearch}/numpy/f2py/src/ %{python_sitearch}/numpy/core/lib/libnpymath.a %else -%{p_python_sitearch}/numpy/*/*/*.c -%{p_python_sitearch}/numpy/*/*.h -%{p_python_sitearch}/numpy/*/*/*.h -%{p_python_sitearch}/numpy/*/*/*/*.h +%{p_python_sitearch}/numpy/core/include/ %{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 %changelog ++++++ numpy-buildfix.patch ++++++ --- /var/tmp/diff_new_pack.6CRNSK/_old 2019-08-19 20:48:29.593084266 +0200 +++ /var/tmp/diff_new_pack.6CRNSK/_new 2019-08-19 20:48:29.593084266 +0200 @@ -3,21 +3,21 @@ @@ -49,7 +49,7 @@ """Return True if the C compiler is GCC 4.x.""" cmd._check_compiler() - body = """ --int -+void - main() - { - #if (! defined __GNUC__) || (__GNUC__ < 4) + body = textwrap.dedent(""" +- int ++ void + main() + { + #if (! defined __GNUC__) || (__GNUC__ < 4) --- a/numpy/distutils/command/install.py +++ b/numpy/distutils/command/install.py @@ -69,7 +69,7 @@ - need_rewrite = False - for l in f: - l = l.rstrip() -- if ' ' in l: -+ if ' ' in l and '%dir ' not in l: - need_rewrite = True - l = '"%s"' % (l) - lines.append(l) + need_rewrite = False + for l in f: + l = l.rstrip() +- if ' ' in l: ++ if ' ' in l and '%dir ' not in l: + need_rewrite = True + l = '"%s"' % (l) + lines.append(l)