From c907d2eaafcd0109b7e8765ece66fe266e42490d Mon Sep 17 00:00:00 2001 From: Paul Wise Date: Sun, 24 May 2020 16:00:12 +0800 Subject: [PATCH] Switch to Python 3 for the argument completion code generation --- debian/control | 2 +- debian/rules | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/control b/debian/control index 2368a31..2459267 100644 --- a/debian/control +++ b/debian/control @@ -7,7 +7,7 @@ Build-Depends: bash-completion, debhelper (>= 9), help2man, - python-argcomplete, + python3-argcomplete, python3, python3-apt, Rules-Requires-Root: no diff --git a/debian/rules b/debian/rules index 8e937a4..0d140d5 100755 --- a/debian/rules +++ b/debian/rules @@ -17,6 +17,6 @@ override_dh_auto_build: --name="Check all of the things!" \ ./$P \ > $P.1 - register-python-argcomplete check-all-the-things > debian/$P.bash-completion + register-python-argcomplete3 check-all-the-things > debian/$P.bash-completion sed -i s/_python_argcomplete/_check_all_the_things_argcomplete/ debian/$P.bash-completion sed -i 's/$$1/check-all-the-things/' debian/$P.bash-completion