gentoo/dev-python/matplotlib-python2/files/matplotlib-2.2.4-doc-fix.patch
Michał Górny 5ce6e9f145
dev-python/matplotlib-python2: Split from matplotlib
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2020-01-28 21:40:20 +01:00

19 lines
629 B
Diff

diff --git a/doc/conf.py b/doc/conf.py
index 017ce210e..5a397082b 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -170,10 +170,10 @@ source_encoding = "utf-8"
master_doc = 'contents'
# General substitutions.
-from matplotlib.compat.subprocess import check_output
-SHA = check_output(['git', 'describe', '--dirty']).decode('utf-8').strip()
+#from matplotlib.compat.subprocess import check_output
+#SHA = check_output(['git', 'describe', '--dirty']).decode('utf-8').strip()
-html_context = {'sha': SHA}
+#html_context = {'sha': SHA}
project = 'Matplotlib'
copyright = ('2002 - 2012 John Hunter, Darren Dale, Eric Firing, '