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 Section: admin
Priority: optional Priority: optional
Maintainer: Clement Lefebvre <root@linuxmint.com> 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 Standards-Version: 3.9.5
Package: mintmenu Package: mintmenu
Architecture: all Architecture: all
Depends: Depends:
${python:Depends},
${misc:Depends}, ${misc:Depends},
mint-common, mint-common,
python (>= 2.4), python (<< 3), python3,
python-apt, python3-apt,
python-configobj, python3-configobj,
python-gi-cairo, python3-gi-cairo,
python-setproctitle, python3-setproctitle,
python-xlib, python3-xlib,
python-xdg, python3-xdg,
python3-xapp, python3-xapp,
python3-xlib, python3-xlib,
xdg-utils, xdg-utils,

2
debian/postinst vendored
View File

@ -19,7 +19,7 @@ set -e
case "$1" in case "$1" in
configure) configure)
glib-compile-schemas /usr/share/glib-2.0/schemas 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) abort-upgrade|abort-remove|abort-deconfigure)