commit python-numpy for openSUSE:Leap:15.2
Hello community, here is the log from the commit of package python-numpy for openSUSE:Leap:15.2 checked in at 2020-03-01 08:50:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-numpy (Old) and /work/SRC/openSUSE:Leap:15.2/.python-numpy.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-numpy" Sun Mar 1 08:50:28 2020 rev:48 rq:761904 version:1.17.3 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-numpy/python-numpy.changes 2020-01-15 15:50:52.899509804 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-numpy.new.26092/python-numpy.changes 2020-03-01 08:50:29.541168036 +0100 @@ -1,0 +2,26 @@ +Wed Nov 27 18:04:43 CET 2019 - Matej Cepl <mcepl@suse.com> + +- (bsc#1149203, jsc#SLE-8532) Update to 1.17.3. 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. See below under New Features. + - NumPy’s FFT implementation was changed from fftpack to + pocketfft, resulting in faster, more accurate transforms and + better handling of datasets of prime length. See below under + Improvements. + - New radix sort and timsort sorting methods. It is currently + not possible to choose which will be used. They are hardwired + to the datatype and used when either stable or mergesort is + passed as the method. See below under Improvements. + - Overriding numpy functions is now possible by default, see + __array_function__ below. + - numpy.errstate is now also a function decorator +- Both patches were reapplied: + - numpy-buildfix.patch + - numpy-1.9.0-remove-__declspec.patch +- Remove BR of Cython (use generated source files from the + release tarball). + +------------------------------------------------------------------- Old: ---- numpy-1.16.1.zip New: ---- numpy-1.17.3.zip ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-numpy.spec ++++++ --- /var/tmp/diff_new_pack.oreXla/_old 2020-03-01 08:50:30.329169603 +0100 +++ /var/tmp/diff_new_pack.oreXla/_new 2020-03-01 08:50:30.329169603 +0100 @@ -17,9 +17,10 @@ %global flavor @BUILD_FLAVOR@%{nil} +%define skip_python2 1 -%define ver 1.16.1 -%define _ver 1_16_1 +%define ver 1.17.3 +%define _ver 1_17_3 %define pname python-numpy %bcond_with ringdisabled @@ -106,7 +107,6 @@ BuildRequires: suse-hpc Requires: libopenblas%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-hpc %endif -BuildRequires: %{python_module Cython} BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros @@ -135,6 +135,7 @@ Group: Development/Libraries/Python Requires: %{name} = %{version} Requires: python-devel +Requires: python-base %if %{without hpc} %if %{with openblas} Requires: openblas-devel @@ -154,8 +155,9 @@ %prep %setup -q -n numpy-%{version} -%patch0 -p1 -%patch1 -p1 +%autopatch -p1 + + # Fix non-executable scripts sed -i '1s/^#!.*$//' numpy/{compat/setup,distutils/{conv_template,cpuinfo,exec_command,from_template,setup,system_info},f2py/{__init__,auxfuncs,capi_maps,cb_rules,cfuncs,common_rules,crackfortran,diagnose,f2py2e,f90mod_rules,func2subr,rules,setup,use_rules},ma/setup,matrixlib/setup,setup,testing/{print_coercion_tables,setup}}.py @@ -244,9 +246,9 @@ %{p_python_sitearch}/numpy/ %{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 +%exclude %{p_python_sitearch}/numpy/*/*/*/*/*.h %exclude %{p_python_sitearch}/numpy/core/lib/libnpymath.a %if %{with hpc} @@ -262,9 +264,9 @@ %defattr(-,root,root) %license LICENSE.txt %{p_python_sitearch}/numpy/*/*/*.c -%{p_python_sitearch}/numpy/*/*.h %{p_python_sitearch}/numpy/*/*/*.h %{p_python_sitearch}/numpy/*/*/*/*.h +%{p_python_sitearch}/numpy/*/*/*/*/*.h %{p_python_sitearch}/numpy/core/lib/libnpymath.a %changelog ++++++ numpy-1.9.0-remove-__declspec.patch ++++++ --- /var/tmp/diff_new_pack.oreXla/_old 2020-03-01 08:50:30.405169755 +0100 +++ /var/tmp/diff_new_pack.oreXla/_new 2020-03-01 08:50:30.405169755 +0100 @@ -15,7 +15,7 @@ --- a/numpy/core/setup_common.py +++ b/numpy/core/setup_common.py -@@ -168,7 +168,7 @@ OPTIONAL_FUNCTION_ATTRIBUTES = [('__attr +@@ -190,7 +190,7 @@ OPTIONAL_FUNCTION_ATTRIBUTES_WITH_INTRIN ] # variable attributes tested via "int %s a" % attribute ++++++ numpy-buildfix.patch ++++++ --- /var/tmp/diff_new_pack.oreXla/_old 2020-03-01 08:50:30.417169778 +0100 +++ /var/tmp/diff_new_pack.oreXla/_new 2020-03-01 08:50:30.417169778 +0100 @@ -1,23 +1,22 @@ --- a/numpy/distutils/command/autodist.py +++ b/numpy/distutils/command/autodist.py -@@ -49,7 +49,7 @@ +@@ -52,7 +52,7 @@ def check_compiler_gcc4(cmd): """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) +@@ -69,7 +69,7 @@ class install(old_install): + 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)
participants (1)
-
root