Hello community,
here is the log from the commit of package python-resampy for
openSUSE:Leap:15.2 checked in at 2020-03-02 13:22:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-resampy (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-resampy.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-resampy"
Mon Mar 2 13:22:15 2020 rev:3 rq:777095 version:0.2.2
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-resampy/python-resampy.changes
2020-01-15 15:52:40.983571756 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-resampy.new.26092/python-resampy.changes
2020-03-02 13:22:16.194268632 +0100
@@ -1,0 +2,12 @@
+Sat Aug 31 22:23:49 UTC 2019 - Arun Persaud <[email protected]>
+
+- specfile:
+ * update copyright year
+ * be more specific in %files section
+ * removed python devel
+
+- update to version 0.2.2:
+ * #68 Preserve array ordering (C- or F-contiguity) from input to
+ output.
+
+-------------------------------------------------------------------
Old:
----
resampy-0.2.1.tar.gz
New:
----
resampy-0.2.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-resampy.spec ++++++
--- /var/tmp/diff_new_pack.fGkGfo/_old 2020-03-02 13:22:16.778269793 +0100
+++ /var/tmp/diff_new_pack.fGkGfo/_new 2020-03-02 13:22:16.778269793 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-resampy
#
-# 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
@@ -18,16 +18,23 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-resampy
-Version: 0.2.1
+Version: 0.2.2
Release: 0
Summary: Signal resampling in Python
License: ISC
Group: Development/Languages/Python
-Url: https://github.com/bmcfee/resampy
+URL: https://github.com/bmcfee/resampy
Source:
https://files.pythonhosted.org/packages/source/r/resampy/resampy-%{version}.tar.gz
-BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
+BuildRequires: fdupes
BuildRequires: python-rpm-macros
+Requires: python-numba >= 0.32
+Requires: python-numpy >= 1.10
+Requires: python-scipy >= 0.13
+Requires: python-six >= 1.3
+Suggests: python-numpydoc
+Suggests: python-sphinx
+BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module numba >= 0.32}
BuildRequires: %{python_module numpy >= 1.10}
@@ -36,15 +43,6 @@
BuildRequires: %{python_module scipy >= 0.13}
BuildRequires: %{python_module six >= 1.3}
# /SECTION
-BuildRequires: fdupes
-Requires: python-numba >= 0.32
-Requires: python-numpy >= 1.10
-Requires: python-scipy >= 0.13
-Requires: python-six >= 1.3
-Suggests: python-sphinx
-Suggests: python-numpydoc
-BuildArch: noarch
-
%python_subpackages
%description
@@ -71,6 +69,6 @@
%files %{python_files}
%doc README.md
%license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/resampy*
%changelog
++++++ resampy-0.2.1.tar.gz -> resampy-0.2.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/resampy-0.2.1/PKG-INFO new/resampy-0.2.2/PKG-INFO
--- old/resampy-0.2.1/PKG-INFO 2018-06-04 19:41:19.000000000 +0200
+++ new/resampy-0.2.2/PKG-INFO 2019-08-16 02:14:32.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: resampy
-Version: 0.2.1
+Version: 0.2.2
Summary: Efficient signal resampling
Home-page: https://github.com/bmcfee/resampy
Author: Brian McFee
@@ -17,8 +17,8 @@
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
Provides-Extra: tests
Provides-Extra: docs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/resampy-0.2.1/resampy/core.py
new/resampy-0.2.2/resampy/core.py
--- old/resampy-0.2.1/resampy/core.py 2017-09-08 21:56:39.000000000 +0200
+++ new/resampy-0.2.2/resampy/core.py 2019-08-16 02:08:30.000000000 +0200
@@ -97,7 +97,14 @@
raise ValueError('Input signal length={} is too small to '
'resample from {}->{}'.format(x.shape[axis], sr_orig,
sr_new))
- y = np.zeros(shape, dtype=x.dtype)
+ # Preserve contiguity of input (if it exists)
+ # If not, revert to C-contiguity by default
+ if x.flags['F_CONTIGUOUS']:
+ order = 'F'
+ else:
+ order = 'C'
+
+ y = np.zeros(shape, dtype=x.dtype, order=order)
interp_win, precision, _ = get_filter(filter, **kwargs)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/resampy-0.2.1/resampy/version.py
new/resampy-0.2.2/resampy/version.py
--- old/resampy-0.2.1/resampy/version.py 2018-06-04 18:49:26.000000000
+0200
+++ new/resampy-0.2.2/resampy/version.py 2019-08-16 02:08:37.000000000
+0200
@@ -3,4 +3,4 @@
"""Version info"""
short_version = '0.2'
-version = '0.2.1'
+version = '0.2.2'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/resampy-0.2.1/resampy.egg-info/PKG-INFO
new/resampy-0.2.2/resampy.egg-info/PKG-INFO
--- old/resampy-0.2.1/resampy.egg-info/PKG-INFO 2018-06-04 19:41:18.000000000
+0200
+++ new/resampy-0.2.2/resampy.egg-info/PKG-INFO 2019-08-16 02:14:32.000000000
+0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: resampy
-Version: 0.2.1
+Version: 0.2.2
Summary: Efficient signal resampling
Home-page: https://github.com/bmcfee/resampy
Author: Brian McFee
@@ -17,8 +17,8 @@
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
Provides-Extra: tests
Provides-Extra: docs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/resampy-0.2.1/resampy.egg-info/SOURCES.txt
new/resampy-0.2.2/resampy.egg-info/SOURCES.txt
--- old/resampy-0.2.1/resampy.egg-info/SOURCES.txt 2018-06-04
19:41:18.000000000 +0200
+++ new/resampy-0.2.2/resampy.egg-info/SOURCES.txt 2019-08-16
02:14:32.000000000 +0200
@@ -12,7 +12,6 @@
resampy.egg-info/PKG-INFO
resampy.egg-info/SOURCES.txt
resampy.egg-info/dependency_links.txt
-resampy.egg-info/pbr.json
resampy.egg-info/requires.txt
resampy.egg-info/top_level.txt
resampy/data/kaiser_best.npz
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/resampy-0.2.1/resampy.egg-info/pbr.json
new/resampy-0.2.2/resampy.egg-info/pbr.json
--- old/resampy-0.2.1/resampy.egg-info/pbr.json 2016-04-19 14:40:38.000000000
+0200
+++ new/resampy-0.2.2/resampy.egg-info/pbr.json 1970-01-01 01:00:00.000000000
+0100
@@ -1 +0,0 @@
-{"git_version": "ecd76d6", "is_release": false}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/resampy-0.2.1/resampy.egg-info/requires.txt
new/resampy-0.2.2/resampy.egg-info/requires.txt
--- old/resampy-0.2.1/resampy.egg-info/requires.txt 2018-06-04
19:41:18.000000000 +0200
+++ new/resampy-0.2.2/resampy.egg-info/requires.txt 2019-08-16
02:14:32.000000000 +0200
@@ -8,5 +8,5 @@
numpydoc
[tests]
-pytest
+pytest<4
pytest-cov
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/resampy-0.2.1/setup.py new/resampy-0.2.2/setup.py
--- old/resampy-0.2.1/setup.py 2017-09-08 21:56:39.000000000 +0200
+++ new/resampy-0.2.2/setup.py 2019-08-16 02:08:30.000000000 +0200
@@ -29,7 +29,7 @@
'numpydoc',
],
'tests': [
- 'pytest',
+ 'pytest < 4',
'pytest-cov',
],
},
@@ -42,8 +42,8 @@
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
- "Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
+ "Programming Language :: Python :: 3.7",
],
)