File: 0013-static-SHA.patch

package info (click to toggle)
matplotlib2 2.2.3-6
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 77,560 kB
  • sloc: python: 127,114; cpp: 58,988; ansic: 29,698; objc: 2,809; makefile: 147; sh: 54
file content (12 lines) | stat: -rw-r--r-- 311 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -159,8 +159,7 @@ 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()
+SHA = None
 
 html_context = {'sha': SHA}