about summary refs log tree commit diff
path: root/debian/rules
diff options
context:
space:
mode:
authorAndreas Henriksson <andreas@fatal.se>2019-08-31 11:18:10 +0200
committerMichael Biebl <biebl@debian.org>2019-09-30 16:00:41 +0200
commit92d4b8caa87046b37eaafa7561580740da507c59 (patch)
tree6bfd3dd4565a59cf46489948272e939dfd673820 /debian/rules
parent507c1cf7524c5f4a92ff0ed9126bb6d977d79020 (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
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules2
1 files changed, 2 insertions, 0 deletions
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)
 
 %: