Hello community, here is the log from the commit of package python-scipy for openSUSE:Factory checked in at 2017-05-08 19:02:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-scipy (Old) and /work/SRC/openSUSE:Factory/.python-scipy.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-scipy" Mon May 8 19:02:00 2017 rev:24 rq:489640 version:0.19.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-scipy/python-scipy.changes 2016-02-01 19:56:25.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-scipy.new/python-scipy.changes 2017-05-08 19:02:20.193886549 +0200 @@ -1,0 +2,73 @@ +Wed Apr 19 18:52:04 UTC 2017 - [email protected] + +- Update to version 0.19.0 + + Highlights + * A unified foreign function interface layer, `scipy.LowLevelCallable`. + * Cython API for scalar, typed versions of the universal functions from + the `scipy.special` module, via `cimport scipy.special.cython_special`. +- Removed weave subpackage. It was removed upstream in this release. + +------------------------------------------------------------------- +Fri Oct 21 19:12:29 UTC 2016 - [email protected] + +- Switch to single-spec version +- update to version 0.18.1: + * #6357: scipy 0.17.1 piecewise cubic hermite interpolation does not + return... + * #6420: circmean() changed behaviour from 0.17 to 0.18 + * #6421: scipy.linalg.solve_banded overwrites input 'b' when the + inversion... + * #6425: cKDTree INF bug + * #6435: scipy.stats.ks_2samp returns different values on different + computers + * #6458: Error in scipy.integrate.dblquad when using variable + integration... + * #6405: BUG: sparse: fix elementwise divide for CSR/CSC + * #6431: BUG: result for insufficient neighbours from cKDTree is + wrong. + * #6432: BUG Issue #6421: scipy.linalg.solve_banded overwrites input + 'b'... + * #6455: DOC: add links to release notes + * #6462: BUG: interpolate: fix .roots method of PchipInterpolator + * #6492: BUG: Fix regression in dblquad: #6458 + * #6543: fix the regression in circmean + * #6545: Revert gh-5938, restore ks_2samp + * #6557: Backports for 0.18.1 +- update to version 0.18.0: + (see http://scipy.github.io/devdocs/release.0.18.0.html for full changelog) + * Highlights of this release include: + + A new ODE solver for two-point boundary value problems, + scipy.optimize.solve_bvp. + + A new class, CubicSpline, for cubic spline interpolation of + data. + + N-dimensional tensor product polynomials, + scipy.interpolate.NdPPoly. + + Spherical Voronoi diagrams, scipy.spatial.SphericalVoronoi. + + Support for discrete-time linear systems, scipy.signal.dlti. +- update to version 0.17.1: + * #5817: BUG: skew, kurtosis return np.nan instead of "propagate" + * #5850: Test failed with sgelsy + * #5898: interpolate.interp1d crashes using float128 + * #5953: Massive performance regression in cKDTree.query with L_inf + distance... + * #6062: mannwhitneyu breaks backward compatibility in 0.17.0 + * #6134: T test does not handle nans + * #5902: BUG: interpolate: make interp1d handle np.float128 again + * #5957: BUG: slow down with p=np.inf in 0.17 cKDTree.query + * #5970: Actually propagate nans through stats functions with + nan_policy="propagate" + * #5971: BUG: linalg: fix lwork check in *gelsy + * #6074: BUG: special: fixed violation of strict aliasing rules. + * #6083: BUG: Fix dtype for sum of linear operators + * #6100: BUG: Fix mannwhitneyu to be backward compatible + * #6135: Don't pass null pointers to LAPACK, even during workspace + queries. + * #6148: stats: fix handling of nan values in T tests and kendalltau +- specfile: + * updated source url to files.pythonhosted.org + * require setuptools + * Add openBLAS support. + This can improve performance in many situations. + * Drop ATLAS support. + +------------------------------------------------------------------- Old: ---- scipy-0.17.0.tar.gz New: ---- scipy-0.19.0.zip ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-scipy.spec ++++++ --- /var/tmp/diff_new_pack.m4yR18/_old 2017-05-08 19:02:23.513417612 +0200 +++ /var/tmp/diff_new_pack.m4yR18/_new 2017-05-08 19:02:23.517417047 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-scipy # -# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,38 +15,57 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +%if 0%{?is_opensuse} == 0 +%bcond_with openblas +%else +%ifarch armv6l +%bcond_with openblas +%ifarch s390x +%bcond_with openblas +%else +%else +%if 0%{?sle_version} == 120200 +%ifarch i586 +%bcond_with openblas +%else +%bcond_without openblas +%endif +%else +%bcond_without openblas +%endif +%endif +%endif +%endif -%define with_atlas 0 - +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-scipy -Version: 0.17.0 +Version: 0.19.0 Release: 0 Summary: Scientific Tools for Python -License: BSD-3-Clause +License: BSD-3-Clause and LGPL-2.0+ Group: Development/Libraries/Python Url: http://www.scipy.org -Source0: https://pypi.python.org/packages/source/s/scipy/scipy-%{version}.tar.gz +Source0: https://files.pythonhosted.org/packages/source/s/scipy/scipy-%{version}.zip BuildRequires: blas-devel BuildRequires: fdupes BuildRequires: fftw-devel BuildRequires: gcc-c++ BuildRequires: gcc-fortran BuildRequires: lapack-devel -BuildRequires: python-Cython >= 0.19 -BuildRequires: python-devel -BuildRequires: python-numpy-devel >= 1.5.1 -BuildRequires: swig -%if 0%{?suse_version} > 1140 BuildRequires: suitesparse-devel-static +BuildRequires: swig +BuildRequires: unzip +%if %{with openblas} +BuildRequires: openblas-devel %endif -%if %{with_atlas} == 1 -BuildRequires: libatlas3-devel -%endif -%if 0%{?suse_version} <= 1110 -%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} -%endif -Requires: python-numpy >= 1.5.1 +BuildRequires: python-rpm-macros +BuildRequires: %{python_module Cython >= 0.19} +BuildRequires: %{python_module devel} +BuildRequires: %{python_module numpy-devel >= 1.5.1} +BuildRequires: %{python_module setuptools} +Requires: %{python_module numpy >= 1.5.1} BuildRoot: %{_tmppath}/%{name}-%{version}-build +%python_subpackages %description Scipy is open-source software for mathematics, science, and @@ -59,28 +78,6 @@ use, but powerful enough to be depended upon by some of the world's leading scientists and engineers. -%package weave -Summary: DEPRECATED Scientific Tools for Python - Weave -Group: Development/Libraries/Python -Requires: %{name} = %{version} -Provides: python-scipy-devel = %{version} - -%description weave -IMPORTANT: python-scipy-weave is deprecated and will be removed in -an upcoming python-scipy release. Please use python-weave instead. -It is an identical package that has been split out of the scipy -sources. - -Scipy is open-source software for mathematics, science, and -engineering. The core library is NumPy which provides convenient and -fast N-dimensional array manipulation. The SciPy library is built to -work with NumPy arrays, and provides many user-friendly and efficient -numerical routines such as routines for numerical integration and -optimization. Together, they run on all popular operating systems, are -quick to install, and are free of charge. NumPy and SciPy are easy to -use, but powerful enough to be depended upon by some of the world's -leading scientists and engineers. - %prep %setup -q -n scipy-%{version} find . -type f -name "*.py" -exec sed -i "s|#!/usr/bin/env python||" {} \; @@ -98,36 +95,27 @@ EOF %build -%if %{with_atlas} == 1 -export ATLAS=%{_libdir}/atlas -%endif -CFLAGS="%{optflags} -fno-strict-aliasing" \ -FFTW=%{_libdir} \ -BLAS=%{_libdir} \ -LAPACK=%{_libdir} \ -python setup.py config_fc --fcompiler=gnu95 --noarch build +export CFLAGS="%{optflags} -fno-strict-aliasing" +export FFTW=%{_libdir} +export BLAS=%{_libdir} +export LAPACK=%{_libdir} +export OPENBLAS=%{_libdir} +%python_exec setup.py config_fc --fcompiler=gnu95 --noarch build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} -find %{buildroot}%{python_sitearch}/scipy -type d -name tests | xargs rm -rf # Don't ship tests -# Don't ship weave examples, they're marked as documentation: -find %{buildroot}%{python_sitearch}/scipy/weave -type d -name examples | xargs rm -rf -%fdupes %{buildroot}%{python_sitearch} +%python_install +%{python_expand find %{buildroot}/%{python_sitearch}/scipy -type d -name tests | xargs rm -rf # Don't ship tests # fix executability issue -chmod +x %{buildroot}%{python_sitearch}/scipy/io/arff/arffread.py -chmod +x %{buildroot}%{python_sitearch}/scipy/special/spfun_stats.py -chmod +x %{buildroot}%{python_sitearch}/scipy/special/generate_ufuncs.py +chmod +x %{buildroot}/%{python_sitearch}/scipy/io/arff/arffread.py +chmod +x %{buildroot}/%{python_sitearch}/scipy/special/spfun_stats.py +chmod +x %{buildroot}/%{python_sitearch}/scipy/special/generate_ufuncs.py +%fdupes %{buildroot}%{python_sitearch} +} -%files +%files %{python_files} %defattr(-,root,root,-) %doc LICENSE.txt %{python_sitearch}/scipy/ -%{python_sitearch}/scipy-%{version}-py*.egg-info -%exclude %{python_sitearch}/scipy/weave - -%files weave -%defattr(-,root,root,-) -%doc scipy/weave/examples -%{python_sitearch}/scipy/weave +%{python_sitearch}/scipy-*-py*.egg-info %changelog
