Hello community, here is the log from the commit of package python-Pillow for openSUSE:Factory checked in at 2018-01-20 11:24:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Pillow (Old) and /work/SRC/openSUSE:Factory/.python-Pillow.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Pillow" Sat Jan 20 11:24:35 2018 rev:28 rq:564507 version:5.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Pillow/python-Pillow.changes 2018-01-13 21:36:25.497455938 +0100 +++ /work/SRC/openSUSE:Factory/.python-Pillow.new/python-Pillow.changes 2018-01-20 11:24:35.262333476 +0100 @@ -1,0 +2,6 @@ +Mon Jan 15 10:01:18 UTC 2018 - [email protected] + +- Fix build fails on i586 and ppc and others: + * pillow-non-iterable.patch + +------------------------------------------------------------------- New: ---- pillow-non-iterable.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Pillow.spec ++++++ --- /var/tmp/diff_new_pack.wuPROr/_old 2018-01-20 11:24:36.086294953 +0100 +++ /var/tmp/diff_new_pack.wuPROr/_new 2018-01-20 11:24:36.090294766 +0100 @@ -33,6 +33,7 @@ Source: https://files.pythonhosted.org/packages/source/P/Pillow/Pillow-%{version}.tar.gz # PATCH-FIX-UPSTREAM freetype-2.9.patch https://github.com/python-pillow/Pillow/issues/2954 Patch1: freetype-2.9.patch +Patch2: pillow-non-iterable.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module olefile} BuildRequires: %{python_module pytest-runner} @@ -95,7 +96,7 @@ %prep %setup -q -n Pillow-%{version} -%patch1 -p1 +%autopatch -p1 %build %python_build ++++++ pillow-non-iterable.patch ++++++ >From 8edbc79e7f5cf32307caf609b1a346456f8d9fb4 Mon Sep 17 00:00:00 2001 From: Hugo <[email protected]> Date: Thu, 11 Jan 2018 12:45:52 +0200 Subject: [PATCH] Fix "TypeError: 'NoneType' object is not iterable" for PPC and CRUX --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index df80c5d9b..e2c16235b 100755 --- a/setup.py +++ b/setup.py @@ -368,7 +368,7 @@ def build_extensions(self): for platform_ in arch_tp: dirs = libdirs.get(platform_, None) - if not platform_: + if not dirs: continue for path in dirs: _add_directory(library_dirs, path)
