forked from pool/python-Pillow
Accepting request 298512 from home:Nijel:branches:devel:languages:python
- 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 OBS-URL: https://build.opensuse.org/request/show/298512 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=32
This commit is contained in:
parent
046b60f435
commit
8e90b308d5
@ -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
3
Pillow-2.8.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8760c118a0215eba163f7782110e7efcdbb15f8a7321f3f61c5ac0dbbb12c996
|
||||
size 8959431
|
@ -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__':
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user