summaryrefslogtreecommitdiffstats
path: root/debian/patches/debian/0003-python-shebang.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/debian/0003-python-shebang.patch')
-rw-r--r--debian/patches/debian/0003-python-shebang.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/debian/patches/debian/0003-python-shebang.patch b/debian/patches/debian/0003-python-shebang.patch
new file mode 100644
index 0000000..8805031
--- /dev/null
+++ b/debian/patches/debian/0003-python-shebang.patch
@@ -0,0 +1,30 @@
+Author: Carl Suster <carl@contraflo.ws>
+Description: Use python3 shebang on examples.
+
+diff -Naurp terminaltables.orig/example1.py terminaltables/example1.py
+--- terminaltables.orig/example1.py
++++ terminaltables/example1.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python3
+ """Simple example usage of terminaltables without any other dependencies.
+
+ Just prints sample text and exits.
+diff -Naurp terminaltables.orig/example2.py terminaltables/example2.py
+--- terminaltables.orig/example2.py
++++ terminaltables/example2.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python3
+ """Example usage of terminaltables with colorclass.
+
+ Just prints sample text and exits.
+diff -Naurp terminaltables.orig/example3.py terminaltables/example3.py
+--- terminaltables.orig/example3.py
++++ terminaltables/example3.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python3
+ """Simple example usage of terminaltables and column_max_width().
+
+ Just prints sample text and exits.