gentoo/dev-python/matplotlib/files/matplotlib-2.2.4-doc-fix.patch
Virgil Dupras 3017cf5138
dev-python/matplotlib: bump to 2.2.4
Closes: https://bugs.gentoo.org/684798
Closes: https://bugs.gentoo.org/656262
Signed-off-by: Virgil Dupras <vdupras@gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
2019-05-02 11:10:35 -04: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, '