summaryrefslogtreecommitdiffstats
path: root/debian/patches/0003-Use-python3-shebang-on-examples.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-09-16 09:09:41 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-09-16 09:09:41 +0000
commit0a8197f8c9a7990de49ba21cacc889ef4cbf7eeb (patch)
treef13241ba3d73956680ae05c890f8454f123c930c /debian/patches/0003-Use-python3-shebang-on-examples.patch
parentAdding upstream version 3.1.0. (diff)
downloadterminaltables-0a8197f8c9a7990de49ba21cacc889ef4cbf7eeb.tar.xz
terminaltables-0a8197f8c9a7990de49ba21cacc889ef4cbf7eeb.zip
Adding debian version 3.1.0-4.debian/3.1.0-4
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/0003-Use-python3-shebang-on-examples.patch')
-rw-r--r--debian/patches/0003-Use-python3-shebang-on-examples.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/debian/patches/0003-Use-python3-shebang-on-examples.patch b/debian/patches/0003-Use-python3-shebang-on-examples.patch
new file mode 100644
index 0000000..1547032
--- /dev/null
+++ b/debian/patches/0003-Use-python3-shebang-on-examples.patch
@@ -0,0 +1,41 @@
+From: Carl Suster <carl@contraflo.ws>
+Date: Fri, 1 Dec 2017 22:20:39 +1100
+Subject: Use python3 shebang on examples
+
+Forwarded: no
+---
+ example1.py | 2 +-
+ example2.py | 2 +-
+ example3.py | 2 +-
+ 3 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/example1.py b/example1.py
+index daf1fbf..d0e383f 100755
+--- a/example1.py
++++ b/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 --git a/example2.py b/example2.py
+index 51644f8..63b6c2d 100755
+--- a/example2.py
++++ b/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 --git a/example3.py b/example3.py
+index bec5500..ef6e96a 100755
+--- a/example3.py
++++ b/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.