summaryrefslogtreecommitdiff
path: root/dev-python/matplotlib/files
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2016-09-10 23:13:40 +0200
committerDavid Seifert <soap@gentoo.org>2016-09-11 10:47:52 +0200
commitdd36b6b07773e6c5fea7000c6ae288795787f6ea (patch)
treef07a380676477f88bd936246c76d4549c919c143 /dev-python/matplotlib/files
parent4dc761f7d1986126d197c97776c2aad9feca1cea (diff)
downloadgentoo-dd36b6b07773e6c5fea7000c6ae288795787f6ea.tar.gz
gentoo-dd36b6b07773e6c5fea7000c6ae288795787f6ea.tar.bz2
gentoo-dd36b6b07773e6c5fea7000c6ae288795787f6ea.zip
dev-python/matplotlib: Version bump to 1.5.3
Gentoo-bug: 590396 * EAPI=6 Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-python/matplotlib/files')
-rw-r--r--dev-python/matplotlib/files/matplotlib-1.5.3-freetype-spurious-failure.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-python/matplotlib/files/matplotlib-1.5.3-freetype-spurious-failure.patch b/dev-python/matplotlib/files/matplotlib-1.5.3-freetype-spurious-failure.patch
new file mode 100644
index 000000000000..bc6891a5f252
--- /dev/null
+++ b/dev-python/matplotlib/files/matplotlib-1.5.3-freetype-spurious-failure.patch
@@ -0,0 +1,26 @@
+Increase the tolerance margin in order to pass tests caused by
+freetype producing unreproducible images across different versions.
+See also: https://github.com/matplotlib/matplotlib/issues/2667
+
+--- a/lib/matplotlib/tests/test_mathtext.py
++++ b/lib/matplotlib/tests/test_mathtext.py
+@@ -158,7 +158,7 @@
+ def make_set(basename, fontset, tests, extensions=None):
+ def make_test(filename, test):
+ @image_comparison(baseline_images=[filename], extensions=extensions,
+- tol=32)
++ tol=40)
+ def single_test():
+ matplotlib.rcParams['mathtext.fontset'] = fontset
+ fig = plt.figure(figsize=(5.25, 0.75))
+--- a/lib/matplotlib/tests/test_text.py
++++ b/lib/matplotlib/tests/test_text.py
+@@ -18,7 +18,7 @@
+ from matplotlib.backends.backend_agg import RendererAgg
+
+
+-@image_comparison(baseline_images=['font_styles'])
++@image_comparison(baseline_images=['font_styles'], tol=20)
+ def test_font_styles():
+ from matplotlib import _get_data_path
+ data_path = _get_data_path()