diff --git a/Pillow-2.7.0.tar.gz b/Pillow-2.7.0.tar.gz deleted file mode 100644 index 9c3b6cd..0000000 --- a/Pillow-2.7.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:26e9320e73f5821826b6b2408a3bff0a8c29e45159530069a117efd39ef619f8 -size 7389160 diff --git a/Pillow-2.8.1.tar.gz b/Pillow-2.8.1.tar.gz new file mode 100644 index 0000000..93a0480 --- /dev/null +++ b/Pillow-2.8.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8760c118a0215eba163f7782110e7efcdbb15f8a7321f3f61c5ac0dbbb12c996 +size 8959431 diff --git a/Pillow-fixtests.patch b/Pillow-fixtests.patch deleted file mode 100644 index 27b3b8e..0000000 --- a/Pillow-fixtests.patch +++ /dev/null @@ -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__': diff --git a/python-Pillow.changes b/python-Pillow.changes index 2fc3387..1bf5134 100644 --- a/python-Pillow.changes +++ b/python-Pillow.changes @@ -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 diff --git a/python-Pillow.spec b/python-Pillow.spec index c5930c1..5c7181e 100644 --- a/python-Pillow.spec +++ b/python-Pillow.spec @@ -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