summaryrefslogtreecommitdiff
path: root/dev-python/matplotlib-python2/files/matplotlib-2.2.4-doc-fix.patch
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-01-28 20:05:23 +0100
committerMichał Górny <mgorny@gentoo.org>2020-01-28 21:40:20 +0100
commit5ce6e9f145b6967e96b21a3790699e035be60046 (patch)
tree18d46927300a42b871588808cd1451acf8853a0f /dev-python/matplotlib-python2/files/matplotlib-2.2.4-doc-fix.patch
parent3450eb3d92aa9f4f18d4bd36cfc9d20f0ffad136 (diff)
downloadgentoo-5ce6e9f145b6967e96b21a3790699e035be60046.tar.gz
gentoo-5ce6e9f145b6967e96b21a3790699e035be60046.tar.bz2
gentoo-5ce6e9f145b6967e96b21a3790699e035be60046.zip
dev-python/matplotlib-python2: Split from matplotlib
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/matplotlib-python2/files/matplotlib-2.2.4-doc-fix.patch')
-rw-r--r--dev-python/matplotlib-python2/files/matplotlib-2.2.4-doc-fix.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/dev-python/matplotlib-python2/files/matplotlib-2.2.4-doc-fix.patch b/dev-python/matplotlib-python2/files/matplotlib-2.2.4-doc-fix.patch
new file mode 100644
index 000000000000..b6a01b097a61
--- /dev/null
+++ b/dev-python/matplotlib-python2/files/matplotlib-2.2.4-doc-fix.patch
@@ -0,0 +1,18 @@
+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, '