- Update to 7.1.2:

* This fixes a regression introduced in 7.1.0 when adding support
    for APNG files.
  * When calling seek(n) on a regular PNG where n > 0, it failed to
    raise an EOFError as it should have done

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=94
This commit is contained in:
Tomáš Chvátal 2020-04-30 08:50:26 +00:00 committed by Git OBS Bridge
parent 7864c5a7d3
commit 1f3464d694
4 changed files with 13 additions and 17 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0f89ddc77cf421b8cd34ae852309501458942bf370831b4a9b406156b599a14e
size 38939096

3
Pillow-7.1.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a0b49960110bc6ff5fead46013bcb8825d101026d466f3a4de3476defe0fb0dd
size 38939582

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu Apr 30 08:47:06 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 7.1.2:
* This fixes a regression introduced in 7.1.0 when adding support
for APNG files.
* When calling seek(n) on a regular PNG where n > 0, it failed to
raise an EOFError as it should have done
-------------------------------------------------------------------
Sat Apr 4 17:49:43 UTC 2020 - Arun Persaud <arun@gmx.de>

View File

@ -19,13 +19,8 @@
%define oldpython python
%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%if 0%{?is_opensuse} || 0%{?suse_version} >= 1500
%bcond_without tk
%else
%bcond_with tk
%endif
Name: python-Pillow
Version: 7.1.1
Version: 7.1.2
Release: 0
Summary: Python Imaging Library (Fork)
License: HPND
@ -51,9 +46,7 @@ BuildRequires: pkgconfig(libwebp)
BuildRequires: pkgconfig(tk)
BuildRequires: pkgconfig(zlib)
Requires: python-olefile
%if %{with tk}
BuildRequires: %{python_module tk}
%endif
%if 0%{?suse_version} >= 1500
BuildRequires: pkgconfig(libopenjp2)
%endif
@ -128,19 +121,13 @@ $python -m pytest -v -k 'not (test_stroke or test_stroke_multiline)'
%{python_sitearch}/PIL
%{python_sitearch}/PIL.pth
%{python_sitearch}/Pillow-%{version}-py%{python_version}.egg-info
%if %{with tk}
%exclude %{python_sitearch}/PIL/ImageTk*
%exclude %{python_sitearch}/PIL/_imagingtk*
%pycache_only %exclude %{python_sitearch}/PIL/__pycache__/ImageTk.*
%endif
%if %{with tk}
%files %{python_files tk}
%{python_sitearch}/PIL/ImageTk*
%{python_sitearch}/PIL/_imagingtk*
%pycache_only %{python_sitearch}/PIL/__pycache__/ImageTk.*
%endif
%changelog