Hello community,

here is the log from the commit of package python-Pillow for openSUSE:Factory 
checked in at 2015-04-22 01:19:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Pillow (Old)
 and      /work/SRC/openSUSE:Factory/.python-Pillow.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Pillow"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Pillow/python-Pillow.changes      
2015-02-10 20:23:18.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-Pillow.new/python-Pillow.changes 
2015-04-22 01:19:52.000000000 +0200
@@ -1,0 +2,5 @@
+Tue Apr 21 14:13:51 UTC 2015 - [email protected]
+
+- Add fix-textsize-equal.patch. Fixes testsuite on SLE11SP3
+
+-------------------------------------------------------------------
@@ -39 +43,0 @@
-

New:
----
  fix-textsize-equal.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-Pillow.spec ++++++
--- /var/tmp/diff_new_pack.y29L6l/_old  2015-04-22 01:19:52.000000000 +0200
+++ /var/tmp/diff_new_pack.y29L6l/_new  2015-04-22 01:19:52.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-Pillow
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,8 @@
 Group:          Development/Languages/Python
 Url:            http://python-imaging.github.io/
 Source:         
https://pypi.python.org/packages/source/P/Pillow/Pillow-%{version}.tar.gz
-Patch:          Pillow-fixtests.patch
+Patch0:         Pillow-fixtests.patch
+Patch1:         fix-textsize-equal.patch
 BuildRequires:  python-devel
 BuildRequires:  python-setuptools
 BuildRequires:  python-tk
@@ -86,7 +87,8 @@
 
 %prep
 %setup -q -n Pillow-%{version}
-%patch -p1
+%patch0 -p1
+%patch1 -p1
 
 %build
 python setup.py build

++++++ fix-textsize-equal.patch ++++++
Index: Pillow-2.7.0/Tests/test_imagefont.py
===================================================================
--- Pillow-2.7.0.orig/Tests/test_imagefont.py
+++ Pillow-2.7.0/Tests/test_imagefont.py
@@ -108,7 +108,7 @@ try:
 
             target = 'Tests/images/rectangle_surrounding_text.png'
             target_img = Image.open(target)
-            self.assert_image_equal(im, target_img)
+            self.assert_image_similar(im, target_img, .5)
 
         def test_render_multiline(self):
             im = Image.new(mode='RGB', size=(300, 100))

Reply via email to