debian: Fix dependencies to require python3 variants.

This commit is contained in:
Michael Webster 2020-04-01 15:56:45 -04:00
parent 4bbd037178
commit a2194beae8
2 changed files with 9 additions and 10 deletions

17
debian/control vendored
View File

@ -2,22 +2,21 @@ Source: mintmenu
Section: admin
Priority: optional
Maintainer: Clement Lefebvre <root@linuxmint.com>
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,

2
debian/postinst vendored
View File

@ -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)