File: 0013-static-SHA.patch

package info (click to toggle)
matplotlib 3.3.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 78,264 kB
  • sloc: python: 123,969; cpp: 57,655; ansic: 29,431; objc: 2,244; javascript: 757; makefile: 163; sh: 111
file content (12 lines) | stat: -rw-r--r-- 293 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -134,8 +134,7 @@ source_encoding = "utf-8"
 master_doc = 'contents'
 
 # General substitutions.
-from subprocess import check_output
-SHA = check_output(['git', 'describe', '--dirty']).decode('utf-8').strip()
+SHA = None
 
 html_context = {'sha': SHA}