diff options
author | Benjamin Barenblat <bbaren@debian.org> | 2018-12-29 15:51:36 -0500 |
---|---|---|
committer | Benjamin Barenblat <bbaren@debian.org> | 2019-01-03 18:25:07 -0500 |
commit | 1a128e1d821ddabfc77106d478238674485ab7bb (patch) | |
tree | 660174a774545c4ec155744815317387a8d3eb33 /debian/patches/0008-avoid-usr-bin-env.patch | |
parent | b1656fe62adb0bbbee4081b07eb42941b1c5696e (diff) |
Package coq_makefile’s new Python dependency
Diffstat (limited to 'debian/patches/0008-avoid-usr-bin-env.patch')
-rw-r--r-- | debian/patches/0008-avoid-usr-bin-env.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/debian/patches/0008-avoid-usr-bin-env.patch b/debian/patches/0008-avoid-usr-bin-env.patch new file mode 100644 index 00000000..132ed7aa --- /dev/null +++ b/debian/patches/0008-avoid-usr-bin-env.patch @@ -0,0 +1,32 @@ +From: Benjamin Barenblat <bbaren@debian.org> +Subject: Avoid invoking /usr/bin/env +Forwarded: not-needed + +Per Debian Python policy [1], use `/usr/bin/python3` rather than +`/usr/bin/env python` to refer to the system Python (3) interpreter. + +[1] https://www.debian.org/doc/packaging-manuals/python-policy/python.html#interpreter_loc +--- a/tools/make-both-single-timing-files.py ++++ b/tools/make-both-single-timing-files.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python3 + import sys + from TimeFileMaker import * + +--- a/tools/make-both-time-files.py ++++ b/tools/make-both-time-files.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python3 + import sys + from TimeFileMaker import * + +--- a/tools/make-one-time-file.py ++++ b/tools/make-one-time-file.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python3 + import sys + from TimeFileMaker import * + |