Accepting request 298513 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/298513
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Pillow?expand=0&rev=14
This commit is contained in:
Dominique Leuenberger 2015-04-23 06:04:27 +00:00 committed by Git OBS Bridge
commit 3dd1c7c90d
5 changed files with 26 additions and 23 deletions

View File

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

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

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

View File

@ -1,17 +0,0 @@
diff --git a/Tests/test_file_webp_alpha.py b/Tests/test_file_webp_alpha.py
index 22c5c09..f316b71 100644
--- a/Tests/test_file_webp_alpha.py
+++ b/Tests/test_file_webp_alpha.py
@@ -83,7 +83,11 @@ class TestFileWebpAlpha(PillowTestCase):
image.load()
image.getdata()
- self.assert_image_similar(image, pil_image, 1.0)
+ # early versions of webp are known to produce higher deviations: deal with it
+ if _webp.WebPDecoderVersion(self) <= 0x201:
+ self.assert_image_similar(image, pil_image, 3.0)
+ else:
+ self.assert_image_similar(image, pil_image, 1.0)
if __name__ == '__main__':

View File

@ -1,3 +1,25 @@
-------------------------------------------------------------------
Wed Apr 22 08:55:10 UTC 2015 - mcihar@suse.cz
- Update to 2.8.1:
- Bug fix: Catch struct.error on invalid JPEG, fixes #1163
- Fix 32-bit BMP loading (RGBA or RGBX)
- Fix UnboundLocalError in ImageFile #1131
- Re-enable test image caching
- Fix: Cannot identify EPS images, fixes #1104
- Configure setuptools to run nosetests, fixes #729
- Style/health fixes
- Add support for HTTP response objects to Image.open()
- Improve reference docs for PIL.ImageDraw.Draw.pieslice() #1145
- Added copy method font_variant() and accessible properties to truetype() #1123
- Fix ImagingEffectNoise #1128
- Remove unreachable code
- Let Python do the endian stuff + tests #1121
- Fix webp decode memory leak #1114
- Fast path for opaque pixels in RGBa unpacker #1088
- Enable basic support for 'RGBa' raw encoding/decoding #1096
- Remove Pillow-fixtests.patch, merged upstream
-------------------------------------------------------------------
Tue Apr 21 14:13:51 UTC 2015 - tbechtold@suse.com

View File

@ -17,14 +17,13 @@
Name: python-Pillow
Version: 2.7.0
Version: 2.8.1
Release: 0
Summary: Python Imaging Library (Fork)
License: HPND
Group: Development/Languages/Python
Url: http://python-imaging.github.io/
Source: https://pypi.python.org/packages/source/P/Pillow/Pillow-%{version}.tar.gz
Patch0: Pillow-fixtests.patch
Patch1: fix-textsize-equal.patch
BuildRequires: python-devel
BuildRequires: python-setuptools
@ -87,7 +86,6 @@ Python Imaging Library by Fredrik Lundh and Contributors.
%prep
%setup -q -n Pillow-%{version}
%patch0 -p1
%patch1 -p1
%build