summaryrefslogtreecommitdiffstats
path: root/debian/patches/0005-use_python3_by_default.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 12:38:07 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 12:38:07 +0000
commit6dc7255b85d1c1bb1b66b94c55a91f21905eef08 (patch)
tree09a26e75b022344fa64251c7973cccfffe8f174d /debian/patches/0005-use_python3_by_default.patch
parentAdding upstream version 2.8.1. (diff)
downloadpowerline-6dc7255b85d1c1bb1b66b94c55a91f21905eef08.tar.xz
powerline-6dc7255b85d1c1bb1b66b94c55a91f21905eef08.zip
Adding debian version 2.8.1-4.debian/2.8.1-4debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/0005-use_python3_by_default.patch')
-rw-r--r--debian/patches/0005-use_python3_by_default.patch95
1 files changed, 95 insertions, 0 deletions
diff --git a/debian/patches/0005-use_python3_by_default.patch b/debian/patches/0005-use_python3_by_default.patch
new file mode 100644
index 0000000..7dc4886
--- /dev/null
+++ b/debian/patches/0005-use_python3_by_default.patch
@@ -0,0 +1,95 @@
+Author: Daniel Baumann <daniel.baumann@progress-linux.org>
+Description: Switching to use python3 by default
+Bug-Debian: https://bugs.debian.org/899165
+Forwarded: not-needed
+
+diff -Naurp powerline.orig/client/powerline.py powerline/client/powerline.py
+--- powerline.orig/client/powerline.py
++++ powerline/client/powerline.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python3
+ # vim:fileencoding=utf-8:noet
+ from __future__ import (unicode_literals, division, absolute_import, print_function)
+
+diff -Naurp powerline.orig/powerline/bindings/awesome/powerline-awesome.py powerline/powerline/bindings/awesome/powerline-awesome.py
+--- powerline.orig/powerline/bindings/awesome/powerline-awesome.py
++++ powerline/powerline/bindings/awesome/powerline-awesome.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python3
+ # vim:fileencoding=utf-8:noet
+ from __future__ import (unicode_literals, division, absolute_import, print_function)
+
+diff -Naurp powerline.orig/powerline/bindings/bar/powerline-bar.py powerline/powerline/bindings/bar/powerline-bar.py
+--- powerline.orig/powerline/bindings/bar/powerline-bar.py
++++ powerline/powerline/bindings/bar/powerline-bar.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python3
+ # vim:fileencoding=utf-8:noet
+ from __future__ import (unicode_literals, division, absolute_import, print_function)
+
+diff -Naurp powerline.orig/powerline/bindings/i3/powerline-i3.py powerline/powerline/bindings/i3/powerline-i3.py
+--- powerline.orig/powerline/bindings/i3/powerline-i3.py
++++ powerline/powerline/bindings/i3/powerline-i3.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python3
+ # vim:fileencoding=utf-8:noet
+ from __future__ import (unicode_literals, division, absolute_import, print_function)
+
+diff -Naurp powerline.orig/powerline/bindings/lemonbar/powerline-lemonbar.py powerline/powerline/bindings/lemonbar/powerline-lemonbar.py
+--- powerline.orig/powerline/bindings/lemonbar/powerline-lemonbar.py
++++ powerline/powerline/bindings/lemonbar/powerline-lemonbar.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python3
+ # vim:fileencoding=utf-8:noet
+ from __future__ import (unicode_literals, division, absolute_import, print_function)
+
+diff -Naurp powerline.orig/powerline/bindings/pdb/__main__.py powerline/powerline/bindings/pdb/__main__.py
+--- powerline.orig/powerline/bindings/pdb/__main__.py
++++ powerline/powerline/bindings/pdb/__main__.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python3
+ # vim:fileencoding=utf-8:noet
+ from __future__ import (unicode_literals, division, absolute_import, print_function)
+
+diff -Naurp powerline.orig/scripts/powerline-config powerline/scripts/powerline-config
+--- powerline.orig/scripts/powerline-config
++++ powerline/scripts/powerline-config
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python3
+ # vim:fileencoding=utf-8:noet
+ from __future__ import (unicode_literals, division, absolute_import, print_function)
+
+diff -Naurp powerline.orig/scripts/powerline-daemon powerline/scripts/powerline-daemon
+--- powerline.orig/scripts/powerline-daemon
++++ powerline/scripts/powerline-daemon
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python3
+ # vim:fileencoding=utf-8:noet
+ from __future__ import (unicode_literals, division, absolute_import, print_function)
+
+diff -Naurp powerline.orig/scripts/powerline-lint powerline/scripts/powerline-lint
+--- powerline.orig/scripts/powerline-lint
++++ powerline/scripts/powerline-lint
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python3
+ # vim:fileencoding=utf-8:noet
+ from __future__ import (unicode_literals, division, absolute_import, print_function)
+
+diff -Naurp powerline.orig/scripts/powerline-render powerline/scripts/powerline-render
+--- powerline.orig/scripts/powerline-render
++++ powerline/scripts/powerline-render
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python3
+ # vim:fileencoding=utf-8:noet
+
+ from __future__ import (unicode_literals, division, absolute_import, print_function)