summaryrefslogtreecommitdiff
path: root/debian/patches/0009-python-scripts-libraries.patch
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbaren@debian.org>2018-12-29 15:51:36 -0500
committerGravatar Benjamin Barenblat <bbaren@debian.org>2019-01-03 18:25:07 -0500
commit1a128e1d821ddabfc77106d478238674485ab7bb (patch)
tree660174a774545c4ec155744815317387a8d3eb33 /debian/patches/0009-python-scripts-libraries.patch
parentb1656fe62adb0bbbee4081b07eb42941b1c5696e (diff)
Package coq_makefile’s new Python dependency
Diffstat (limited to 'debian/patches/0009-python-scripts-libraries.patch')
-rw-r--r--debian/patches/0009-python-scripts-libraries.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/patches/0009-python-scripts-libraries.patch b/debian/patches/0009-python-scripts-libraries.patch
new file mode 100644
index 00000000..66a4a9e9
--- /dev/null
+++ b/debian/patches/0009-python-scripts-libraries.patch
@@ -0,0 +1,20 @@
+From: Benjamin Barenblat <bbaren@debian.org>
+Subject: Differentiate between Python scripts and libraries
+Forwarded: not-needed
+
+Eliminate the .py extension from executable Python scripts.
+--- a/tools/CoqMakefile.in
++++ b/tools/CoqMakefile.in
+@@ -91,9 +91,9 @@
+ COQMKFILE ?= "$(COQBIN)coq_makefile"
+
+ # Timing scripts
+-COQMAKE_ONE_TIME_FILE ?= "$(COQLIB)/tools/make-one-time-file.py"
+-COQMAKE_BOTH_TIME_FILES ?= "$(COQLIB)/tools/make-both-time-files.py"
+-COQMAKE_BOTH_SINGLE_TIMING_FILES ?= "$(COQLIB)/tools/make-both-single-timing-files.py"
++COQMAKE_ONE_TIME_FILE ?= "$(COQLIB)/tools/make-one-time-file"
++COQMAKE_BOTH_TIME_FILES ?= "$(COQLIB)/tools/make-both-time-files"
++COQMAKE_BOTH_SINGLE_TIMING_FILES ?= "$(COQLIB)/tools/make-both-single-timing-files"
+ BEFORE ?=
+ AFTER ?=
+