Hello community, here is the log from the commit of package python3-numpy for openSUSE:Factory checked in at 2013-11-04 16:18:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python3-numpy (Old) and /work/SRC/openSUSE:Factory/.python3-numpy.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python3-numpy" Changes: -------- --- /work/SRC/openSUSE:Factory/python3-numpy/python3-numpy-doc.changes 2013-09-26 16:58:08.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python3-numpy.new/python3-numpy-doc.changes 2013-11-04 16:18:27.000000000 +0100 @@ -1,0 +2,25 @@ +Mon Nov 4 11:13:59 UTC 2013 - toddrme2178@gmail.com + +- Fix building +- python3-2to3 is not needed for the main package but is still + needed for the docs + +------------------------------------------------------------------- +Thu Oct 31 10:17:25 UTC 2013 - toddrme2178@gmail.com + +- Update to 1.8.0 + Highlights: + * New, no 2to3, Python 2 and Python 3 are supported by a common code base. + * New, gufuncs for linear algebra, enabling operations on stacked arrays. + * New, inplace fancy indexing for ufuncs with the ``.at`` method. + * New, ``partition`` function, partial sorting via selection for fast median. + * New, ``nanmean``, ``nanvar``, and ``nanstd`` functions skipping NaNs. + * New, ``full`` and ``full_like`` functions to create value initialized arrays. + * New, ``PyUFunc_RegisterLoopForDescr``, better ufunc support for user dtypes. + * Numerous performance improvements in many areas. +- Add a new flag to easily enable/disable atlas support for if it + ever gets fixed in the future +- Rebase numpy-buildfix.patch +- Remove upstreamed numpy-doc-postprocess-encoding.patch + +------------------------------------------------------------------- --- /work/SRC/openSUSE:Factory/python3-numpy/python3-numpy.changes 2013-09-26 16:58:08.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python3-numpy.new/python3-numpy.changes 2013-11-04 16:18:27.000000000 +0100 @@ -1,0 +2,18 @@ +Thu Oct 31 10:17:25 UTC 2013 - toddrme2178@gmail.com + +- Update to 1.8.0 + Highlights: + * New, no 2to3, Python 2 and Python 3 are supported by a common code base. + * New, gufuncs for linear algebra, enabling operations on stacked arrays. + * New, inplace fancy indexing for ufuncs with the ``.at`` method. + * New, ``partition`` function, partial sorting via selection for fast median. + * New, ``nanmean``, ``nanvar``, and ``nanstd`` functions skipping NaNs. + * New, ``full`` and ``full_like`` functions to create value initialized arrays. + * New, ``PyUFunc_RegisterLoopForDescr``, better ufunc support for user dtypes. + * Numerous performance improvements in many areas. +- Add a new flag to easily enable/disable atlas support for if it + ever gets fixed in the future +- Rebase numpy-buildfix.patch +- Remove upstreamed numpy-doc-postprocess-encoding.patch + +------------------------------------------------------------------- Old: ---- numpy-1.7.1.tar.gz numpy-doc-postprocess-encoding.patch New: ---- numpy-1.8.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-numpy-doc.spec ++++++ --- /var/tmp/diff_new_pack.4sYbhv/_old 2013-11-04 16:18:29.000000000 +0100 +++ /var/tmp/diff_new_pack.4sYbhv/_new 2013-11-04 16:18:29.000000000 +0100 @@ -16,15 +16,14 @@ # Name: python3-numpy-doc -Version: 1.7.1 +Version: 1.8.0 Release: 0 Url: http://sourceforge.net/projects/numpy Summary: Documentation for python3-numpy License: BSD-3-Clause Group: Development/Libraries/Python Source: numpy-%{version}.tar.gz -Patch1: numpy-buildfix.patch -Patch2: numpy-doc-postprocess-encoding.patch +Patch0: numpy-buildfix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} == 1220 BuildRequires: python3-2to3 @@ -59,10 +58,7 @@ %prep %setup -q -n numpy-%{version} -%patch1 -p0 -%patch2 -p1 -# Use packaged numpydoc instead: -rm -r doc/sphinxext/numpydoc.py +%patch0 -p1 # Patch in intersphinx file from pytho3-doc: sed -i "s|'http://docs.python.org/dev': None|'http://docs.python.org/dev': '/usr/share/doc/packages/python3/html/objects.inv'|" doc/source/conf.py # Avoid autosummary extensions, summaries are incomplete and it would fail: ++++++ python3-numpy.spec ++++++ --- /var/tmp/diff_new_pack.4sYbhv/_old 2013-11-04 16:18:29.000000000 +0100 +++ /var/tmp/diff_new_pack.4sYbhv/_new 2013-11-04 16:18:29.000000000 +0100 @@ -16,27 +16,29 @@ # +%define with_atlas 0 + Name: python3-numpy -Version: 1.7.1 +Version: 1.8.0 Release: 0 Url: http://sourceforge.net/projects/numpy 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}/numpy-%{version}.tar.gz -Patch1: numpy-buildfix.patch +Patch0: numpy-buildfix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: blas-devel BuildRequires: lapack-devel -BuildRequires: python3 -%if 0%{?suse_version} == 1220 -BuildRequires: python3-2to3 -%endif -BuildRequires: python3-devel +BuildRequires: python3 >= 3.2 +BuildRequires: python3-devel >= 3.2 # Cython needed for mtrand.c regenerating (python3.3) BuildRequires: python3-Cython BuildRequires: fdupes BuildRequires: gcc-fortran +%if %{with_atlas} == 1 +BuildRequires: libatlas3-devel +%endif %description NumPy is a general-purpose array-processing package designed to @@ -58,15 +60,18 @@ Requires: blas-devel Requires: lapack-devel Requires: gcc-fortran +%if %{with_atlas} == 1 +Requires: libatlas3-devel +%endif %description devel This package contains files for developing applications using numpy. %prep %setup -q -n numpy-%{version} -%patch1 - -sed -i "1d" numpy/{compat/setup{,scons},distutils/{conv_template,cpuinfo,exec_command,from_template,setup,setupscons,system_info},f2py/{auxfuncs,capi_maps,cb_rules,cfuncs,common_rules,crackfortran,diagnose,docs/usersguide/setup_example,f2py2e,f90mod_rules,func2subr,__init__,rules,setup,setupscons,use_rules},ma/setup{,scons},matrixlib/setup{,scons},setup,setupscons,testing/print_coercion_tables,testing/setup{,scons}}.py # Fix non-executable scripts +%patch0 -p1 +# Fix non-executable scripts +sed -i "1d" numpy/{compat/setup,distutils/{conv_template,cpuinfo,exec_command,from_template,setup,system_info},f2py/{auxfuncs,capi_maps,cb_rules,cfuncs,common_rules,crackfortran,diagnose,docs/usersguide/setup_example,f2py2e,f90mod_rules,func2subr,__init__,rules,setup,use_rules},ma/setup,matrixlib/setup,setup,testing/{print_coercion_tables,setup}}.py %build CFLAGS="%{optflags} -fno-strict-aliasing" python3 setup.py build ++++++ numpy-1.7.1.tar.gz -> numpy-1.8.0.tar.gz ++++++ ++++ 372210 lines of diff (skipped) ++++++ numpy-buildfix.patch ++++++ --- /var/tmp/diff_new_pack.4sYbhv/_old 2013-11-04 16:18:30.000000000 +0100 +++ /var/tmp/diff_new_pack.4sYbhv/_new 2013-11-04 16:18:30.000000000 +0100 @@ -1,21 +1,6 @@ -Index: numpy/distutils/command/install.py -=================================================================== ---- numpy/distutils/command/install.py.orig 2010-08-04 12:53:20.000000000 +0200 -+++ numpy/distutils/command/install.py 2010-09-06 10:29:18.119261319 +0200 -@@ -64,7 +64,7 @@ class install(old_install): - need_rewrite = False - for l in f.readlines(): - l = l.rstrip() -- if ' ' in l: -+ if ' ' in l and '%dir ' not in l: - need_rewrite = True - l = '"%s"' % (l) - lines.append(l) -Index: numpy/distutils/command/autodist.py -=================================================================== ---- numpy/distutils/command/autodist.py.orig 2010-08-04 12:53:20.000000000 +0200 -+++ numpy/distutils/command/autodist.py 2010-09-06 10:29:31.835385151 +0200 -@@ -28,7 +28,7 @@ def check_compiler_gcc4(cmd): +--- a/numpy/distutils/command/autodist.py ++++ b/numpy/distutils/command/autodist.py +@@ -32,7 +32,7 @@ """Return True if the C compiler is GCC 4.x.""" cmd._check_compiler() body = """ @@ -24,3 +9,15 @@ main() { #ifndef __GNUC__ && (__GNUC__ >= 4) + +--- a/numpy/distutils/command/install.py ++++ b/numpy/distutils/command/install.py +@@ -66,7 +66,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) -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org