Hello community, here is the log from the commit of package python-PyWavelets for openSUSE:Factory checked in at 2019-01-21 10:46:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-PyWavelets (Old) and /work/SRC/openSUSE:Factory/.python-PyWavelets.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-PyWavelets" Mon Jan 21 10:46:33 2019 rev:4 rq:662933 version:1.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-PyWavelets/python-PyWavelets.changes 2018-07-18 22:58:09.686120874 +0200 +++ /work/SRC/openSUSE:Factory/.python-PyWavelets.new.28833/python-PyWavelets.changes 2019-01-21 10:46:39.344290716 +0100 @@ -1,0 +2,59 @@ +Fri Jan 4 17:31:38 UTC 2019 - Todd R <[email protected]> + +- Update to version 1.0.1 + * Key-based assignment of coefficients to a ``FswavedecnResult`` object (i.e. via + its __setitem__ method) has been fixed. + * The order that the individual subband coefficients were stacked by the + function ``pywt.ravel_coeffs`` is now guaranteed to be consistent across all + supported Python versions. Explicit alphabetic ordering of subband coefficient + names is used for consitent ordering regardless of Python version +- Update to version 1.0.0 + + New features + * New 1D test signals + * C99 complex support + * complex-valued CWT + * More flexible specification of some continuous wavelets + * Fully Separable Discrete Wavelet Transfrom + * New thresholding methods + * New anti-symmetric boundary modes + * New functions to ravel and unravel wavedecn coefficients + * New functions to determine multilevel DWT coefficient shapes and sizes + + Deprecated features + * The continous wavelets with names ``"cmor"``, ``"shan"`` and ``"fbsp"`` + should now be modified to include formerly hard-coded attributes such as their + center frequency and bandwidth. Use of the bare names "cmor". "shan" and + "fbsp" is now deprecated. For "cmor" (and "shan"), the form of the wavelet + name is now "cmorB-C" ("shanB-C") where B and C are floats representing the + bandwidth frequency and center frequency. For "fbsp" the form should now + incorporate three floats as in "fbspM-B-C" where M is the spline order and B + and C are the bandwidth and center frequencies. + + Backwards incompatible changes + * Python 2.6, 3.3 and 3.4 are no longer supported. + * The order of coefficients returned by ``swt2`` and input to ``iswt2`` have been + reversed so that the decomposition levels are now returned in descending rather + than ascending order. This makes these 2D stationary wavelet functions + consistent with all of the other multilevel discrete transforms in PyWavelets. + * For ``wavedec``, ``wavedec2`` and ``wavedecn``, the ability for the user to + specify a ``level`` that is greater than the value returned by + ``dwt_max_level`` has been restored. A ``UserWarning`` is raised instead of a + ``ValueError`` in this case. + + Bugs Fixed + * Assigning new data to the ``Node`` or ``Node2D`` no longer forces a cast to + ``float64`` when the data is one of the other dtypes supported by the dwt + (``float32``, ``complex64``, ``complex128``). + * Calling ``pywt.threshold`` with ``mode='soft'`` now works properly for + complex-valued inputs. + * A segfault when running multiple `swt2` or `swtn` transforms concurrently has + been fixed. + * Several instances of deprecated numpy multi-indexing that caused warnings in + numpy >=1.15 have been resolved. + * The 2d inverse stationary wavelet transform, `iswt2`, now supports non-square + inputs (an unnecessary check for square inputs was removed). + * Wavelet packets no longer convert float32 to float64 upon assignment to nodes. + * Doctests have been updated to also work with NumPy >= 1.14, + * Indexing conventions have been updated to avoid FutureWarnings in NumPy 1.15. + + Other changes + * Python 3.7 is now officially supported. +- Remove upstream-included add_default_to_switch_statement.patch + +------------------------------------------------------------------- Old: ---- PyWavelets-0.5.2.tar.gz add_default_to_switch_statement.patch New: ---- PyWavelets-1.0.1.tar.gz pywavelets.pdf pywavelets.zip ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-PyWavelets.spec ++++++ --- /var/tmp/diff_new_pack.yxaGiq/_old 2019-01-21 10:46:41.184288456 +0100 +++ /var/tmp/diff_new_pack.yxaGiq/_new 2019-01-21 10:46:41.188288451 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-PyWavelets # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -12,21 +12,21 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-PyWavelets -Version: 0.5.2 +Version: 1.0.1 Release: 0 Summary: PyWavelets is a Python wavelet transforms module License: MIT Group: Development/Libraries/Python URL: http://pypi.python.org/pypi/PyWavelets/ Source0: https://files.pythonhosted.org/packages/source/P/PyWavelets/PyWavelets-%{version}.tar.gz -# PATCH-FIX-UPSTREAM add_default_to_switch_statement.patch -- Fix no return in nonvoid function error -Patch0: add_default_to_switch_statement.patch +Source10: https://media.readthedocs.org/pdf/pywavelets/v%{version}/pywavelets.pdf +Source11: https://media.readthedocs.org/htmlzip/pywavelets/v%{version}/pywavelets.zip BuildRequires: %{python_module Cython} BuildRequires: %{python_module devel} BuildRequires: %{python_module nose} @@ -34,10 +34,7 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -# Documentation requirements -BuildRequires: python3-Pygments -BuildRequires: python3-Sphinx -BuildRequires: python3-numpydoc +BuildRequires: unzip Requires: python-numpy >= 1.9.1 %python_subpackages @@ -54,7 +51,7 @@ %package -n %{name}-doc Summary: This package contains the HMTL documentation of %{name} -Group: Documentation/HTML +Group: Documentation/Other Provides: %{python_module PyWavelets-doc = %{version}} %description -n %{name}-doc @@ -68,15 +65,19 @@ * Single and double precision calculations * Results compatibility with Matlab Wavelet Toolbox -This Package contains the documentation of %{name} in HTML format. +This Package contains the documentation of %{name} in HTML and PDF formats. %prep %setup -q -n PyWavelets-%{version} -%patch0 -p1 +sed -i -e '/^#!\//, 1d' pywt/tests/*.py + +cp %{SOURCE10} . +unzip %{SOURCE11} -d docs +mv docs/pywavelets-* docs/html +rm docs/html/.buildinfo # Make docs non-executable chmod a-x *.rst -chmod a-x *.txt chmod a-x PyWavelets.egg-info/* # Fix wrong-script-interpreter @@ -107,23 +108,22 @@ popd } -# Create docs. These need the package to already be built and installed -PYTHONPATH="$PYTHONPATH:%{buildroot}%{python3_sitearch}" make -C doc PAPER=letter html - -# Remove hiden files -find doc/build/html -name '.*' -exec rm {} \; - %check -export CFLAGS="%{optflags} -fno-strict-aliasing" -%python_exec setup.py test +mkdir test +pushd test +%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} +$python -B -c 'import pywt;pywt.test()' +} %files %{python_files} -%doc CHANGES.txt README.rst THANKS.txt +%doc README.rst +%license LICENSE %{python_sitearch}/pywt/ %{python_sitearch}/PyWavelets-%{version}-py*.egg-info %files -n %{name}-doc -%doc doc/build/html -%doc demo/ +%license LICENSE +%doc pywavelets.pdf +%doc docs/html %changelog ++++++ PyWavelets-0.5.2.tar.gz -> PyWavelets-1.0.1.tar.gz ++++++ ++++ 147723 lines of diff (skipped)
