diff options
| author | Andreas Henriksson <andreas@fatal.se> | 2019-08-31 11:18:10 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2019-09-30 16:00:41 +0200 |
| commit | 92d4b8caa87046b37eaafa7561580740da507c59 (patch) | |
| tree | 6bfd3dd4565a59cf46489948272e939dfd673820 | |
| parent | 507c1cf7524c5f4a92ff0ed9126bb6d977d79020 (diff) | |
Switch build-dependencies to python3
The tests are designed to work with either python2 or python3. We should be able to simply switch build-dependencies to python3 equivalents. However if something transitively pulls in python2 the AM_PATH_PYTHON autoconf macro will find python(2) binary, so we explicitly set PYTHON=/usr/bin/python3. Closes: #938944
| -rw-r--r-- | debian/control | 4 | ||||
| -rwxr-xr-x | debian/rules | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/debian/control b/debian/control index 6b119f5f..9f9b4aaf 100644 --- a/debian/control +++ b/debian/control @@ -22,7 +22,7 @@ Build-Depends: debhelper-compat (= 12), libudev-dev (>= 175), libgirepository1.0-dev (>= 0.10.7-1~), gobject-introspection (>= 0.9.12-4~), - python-gi, + python3-gi, libpsl-dev (>= 0.1), libcurl4-gnutls-dev (>= 7.24.0), gtk-doc-tools, @@ -38,7 +38,7 @@ Build-Depends: debhelper-compat (= 12), libbluetooth-dev (>= 5), valac (>= 0.17.1.24), dbus <!nocheck>, - python-dbus <!nocheck> + python3-dbus <!nocheck> Standards-Version: 4.3.0 Rules-Requires-Root: no Vcs-Git: https://salsa.debian.org/utopia-team/network-manager.git diff --git a/debian/rules b/debian/rules index 9b5d2eb2..e58592f0 100755 --- a/debian/rules +++ b/debian/rules @@ -2,6 +2,8 @@ include /usr/share/dpkg/architecture.mk +export PYTHON=/usr/bin/python3 + PPPD_PLUGIN_DIR := $(shell dh_ppp --plugin-dir) %: |