From bd26b9340d100e44249546037fcd3b4a3f852a38 Mon Sep 17 00:00:00 2001 From: Dmitriusan Date: Thu, 6 Feb 2020 20:06:47 +0200 Subject: [PATCH] scripts/debian: switch to python3 --- bin/solaar-cli | 2 +- lib/solaar/gtk.py | 2 +- lib/solaar/tasks.py | 2 +- packaging/debian/control | 2 +- tools/hidconsole | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/solaar-cli b/bin/solaar-cli index 35192c3b..862086c8 100755 --- a/bin/solaar-cli +++ b/bin/solaar-cli @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- python-mode -*- # -*- coding: UTF-8 -*- diff --git a/lib/solaar/gtk.py b/lib/solaar/gtk.py index 99be5ead..fc0bd063 100755 --- a/lib/solaar/gtk.py +++ b/lib/solaar/gtk.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- python-mode -*- # -*- coding: UTF-8 -*- diff --git a/lib/solaar/tasks.py b/lib/solaar/tasks.py index 2fbf3e6d..baed1584 100644 --- a/lib/solaar/tasks.py +++ b/lib/solaar/tasks.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- python-mode -*- # -*- coding: UTF-8 -*- diff --git a/packaging/debian/control b/packaging/debian/control index 0ff9204d..63f033e1 100644 --- a/packaging/debian/control +++ b/packaging/debian/control @@ -14,7 +14,7 @@ Vcs-browser: http://github.com/pwr/Solaar Package: solaar Architecture: all Depends: ${misc:Depends}, ${debconf:Depends}, udev (>= 175), passwd | adduser, - ${python:Depends}, python-pyudev (>= 0.13), python-gi (>= 3.2), gir1.2-gtk-3.0 (>= 3.4), + ${python:Depends}, python3-pyudev (>= 0.13), python-gi (>= 3.2), gir1.2-gtk-3.0 (>= 3.4), ${solaar:Desktop-Icon-Theme} Recommends: gir1.2-notify-0.7, consolekit (>= 0.4.3) | systemd (>= 44), python-dbus (>= 1.1.0), upower diff --git a/tools/hidconsole b/tools/hidconsole index 264b1a04..ebc59f30 100755 --- a/tools/hidconsole +++ b/tools/hidconsole @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- python-mode -*- """Takes care of starting the main function."""