Hello community, here is the log from the commit of package python-pyFFTW for openSUSE:Factory checked in at 2020-01-28 10:57:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pyFFTW (Old) and /work/SRC/openSUSE:Factory/.python-pyFFTW.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyFFTW" Tue Jan 28 10:57:17 2020 rev:4 rq:767872 version:0.11.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pyFFTW/python-pyFFTW.changes 2019-01-21 10:46:07.160330272 +0100 +++ /work/SRC/openSUSE:Factory/.python-pyFFTW.new.26092/python-pyFFTW.changes 2020-01-28 10:57:18.629126490 +0100 @@ -1,0 +2,7 @@ +Mon Jan 27 18:23:25 UTC 2020 - Martin Hauke <mar...@gmx.de> + +- Add patch: + * 265.patch (Fix Factory builds) + https://github.com/pyFFTW/pyFFTW/pull/265 + +------------------------------------------------------------------- New: ---- 265.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pyFFTW.spec ++++++ --- /var/tmp/diff_new_pack.eSmdo1/_old 2020-01-28 10:57:19.189126903 +0100 +++ /var/tmp/diff_new_pack.eSmdo1/_new 2020-01-28 10:57:19.193126906 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pyFFTW # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 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 @@ -30,6 +30,7 @@ Group: Development/Languages/Python Url: http://hgomersall.github.com/pyFFTW/ Source: https://files.pythonhosted.org/packages/source/p/pyFFTW/pyFFTW-%{version}.tar.gz +Patch0: https://patch-diff.githubusercontent.com/raw/pyFFTW/pyFFTW/pull/265.patch BuildRequires: %{python_module Cython} BuildRequires: %{python_module devel} BuildRequires: %{python_module numpy-devel >= 1.6} @@ -60,6 +61,7 @@ %prep %setup -q -n pyFFTW-%{version} +%patch0 -p1 %build export CFLAGS="%{optflags}" ++++++ 265.patch ++++++ >From 911ae91f790022e710d821cb974fedc31a398a22 Mon Sep 17 00:00:00 2001 From: "Gregory R. Lee" <gregory....@cchmc.org> Date: Thu, 20 Jun 2019 12:00:01 -0400 Subject: [PATCH 1/2] remove import of non-public _fftpack within the scipy interfaces --- pyfftw/interfaces/scipy_fftpack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyfftw/interfaces/scipy_fftpack.py b/pyfftw/interfaces/scipy_fftpack.py index 31dc5f7..3be5538 100644 --- a/pyfftw/interfaces/scipy_fftpack.py +++ b/pyfftw/interfaces/scipy_fftpack.py @@ -65,7 +65,7 @@ from scipy.fftpack import (dct, idct, dst, idst, diff, tilbert, itilbert, hilbert, ihilbert, cs_diff, sc_diff, ss_diff, cc_diff, shift, fftshift, ifftshift, fftfreq, rfftfreq, - convolve, _fftpack) + convolve) # a next_fast_len specific to pyFFTW is used in place of the scipy.fftpack one from ..pyfftw import next_fast_len >From 588763508e1a4e5b4280ef0a77b963e81f6001dc Mon Sep 17 00:00:00 2001 From: "Gregory R. Lee" <gregory....@cchmc.org> Date: Thu, 20 Jun 2019 12:57:10 -0400 Subject: [PATCH 2/2] TST: remove test for presence of _fftpack as well --- test/test_pyfftw_scipy_interface.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/test_pyfftw_scipy_interface.py b/test/test_pyfftw_scipy_interface.py index 9cda917..482fb9f 100644 --- a/test/test_pyfftw_scipy_interface.py +++ b/test/test_pyfftw_scipy_interface.py @@ -61,8 +61,7 @@ acquired_names = ('dct', 'idct', 'diff', 'tilbert', 'itilbert', 'hilbert', 'ihilbert', 'cs_diff', 'sc_diff', 'ss_diff', 'cc_diff', 'shift', - 'fftshift', 'ifftshift', 'fftfreq', 'rfftfreq', 'convolve', - '_fftpack') + 'fftshift', 'ifftshift', 'fftfreq', 'rfftfreq', 'convolve') def make_complex_data(shape, dtype): ar, ai = dtype(numpy.random.randn(2, *shape))