From a2194beae8e67613b1d87f0d565de3ba23255ef3 Mon Sep 17 00:00:00 2001 From: Michael Webster Date: Wed, 1 Apr 2020 15:56:45 -0400 Subject: [PATCH] debian: Fix dependencies to require python3 variants. --- debian/control | 17 ++++++++--------- debian/postinst | 2 +- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/debian/control b/debian/control index 9ab0a21..17101f4 100644 --- a/debian/control +++ b/debian/control @@ -2,22 +2,21 @@ Source: mintmenu Section: admin Priority: optional Maintainer: Clement Lefebvre -Build-Depends: debhelper (>= 9), python, dh-python, +Build-Depends: debhelper (>= 9), python3, dh-python, Standards-Version: 3.9.5 Package: mintmenu Architecture: all Depends: - ${python:Depends}, ${misc:Depends}, mint-common, - python (>= 2.4), python (<< 3), - python-apt, - python-configobj, - python-gi-cairo, - python-setproctitle, - python-xlib, - python-xdg, + python3, + python3-apt, + python3-configobj, + python3-gi-cairo, + python3-setproctitle, + python3-xlib, + python3-xdg, python3-xapp, python3-xlib, xdg-utils, diff --git a/debian/postinst b/debian/postinst index d858a4f..fe5bec5 100644 --- a/debian/postinst +++ b/debian/postinst @@ -19,7 +19,7 @@ set -e case "$1" in configure) glib-compile-schemas /usr/share/glib-2.0/schemas - python -m compileall -qf /usr/lib/linuxmint/mintMenu/ + python3 -m compileall -qf /usr/lib/linuxmint/mintMenu/ ;; abort-upgrade|abort-remove|abort-deconfigure)