Accepting request 563830 from home:namtrac:branches:devel:languages:python
- Add freetype-2.9.patch to fix tests with FreeType 2.9 gh#2954 OBS-URL: https://build.opensuse.org/request/show/563830 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=66
This commit is contained in:
parent
d5e583f63a
commit
dbd8592b59
14
freetype-2.9.patch
Normal file
14
freetype-2.9.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
Index: Pillow-5.0.0/Tests/test_imagefont.py
|
||||||
|
===================================================================
|
||||||
|
--- Pillow-5.0.0.orig/Tests/test_imagefont.py
|
||||||
|
+++ Pillow-5.0.0/Tests/test_imagefont.py
|
||||||
|
@@ -58,6 +58,9 @@ class TestImageFont(PillowTestCase):
|
||||||
|
('2', '8'): {'multiline': 6.2,
|
||||||
|
'textsize': 2.5,
|
||||||
|
'getters': (12, 16)},
|
||||||
|
+ ('2', '9'): {'multiline': 6.2,
|
||||||
|
+ 'textsize': 2.5,
|
||||||
|
+ 'getters': (12, 16)},
|
||||||
|
'Default': {'multiline': 0.5,
|
||||||
|
'textsize': 0.5,
|
||||||
|
'getters': (12, 16)},
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 12 12:52:24 UTC 2018 - idonmez@suse.com
|
||||||
|
|
||||||
|
- Add freetype-2.9.patch to fix tests with FreeType 2.9 gh#2954
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 10 13:31:48 UTC 2018 - tchvatal@suse.com
|
Wed Jan 10 13:31:48 UTC 2018 - tchvatal@suse.com
|
||||||
|
|
||||||
|
@ -31,6 +31,8 @@ License: HPND
|
|||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: http://python-imaging.github.io/
|
Url: http://python-imaging.github.io/
|
||||||
Source: https://files.pythonhosted.org/packages/source/P/Pillow/Pillow-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/P/Pillow/Pillow-%{version}.tar.gz
|
||||||
|
# PATCH-FIX-UPSTREAM freetype-2.9.patch https://github.com/python-pillow/Pillow/issues/2954
|
||||||
|
Patch1: freetype-2.9.patch
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: %{python_module olefile}
|
BuildRequires: %{python_module olefile}
|
||||||
BuildRequires: %{python_module pytest-runner}
|
BuildRequires: %{python_module pytest-runner}
|
||||||
@ -93,6 +95,7 @@ Python Imaging Library by Fredrik Lundh and Contributors.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n Pillow-%{version}
|
%setup -q -n Pillow-%{version}
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
|
Loading…
Reference in New Issue
Block a user