From e1f8e89029fb16265aaba1d8d26932ed069ffc8e Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Wed, 26 Feb 2020 17:55:18 +0100 Subject: [PATCH] debian: Remove dependency on python2 for libwally Ubuntu Focal removed the python2 packages since that version is no longer supported, and we can expect more distros to join soon. --- debian/control | 2 +- debian/rules | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/debian/control b/debian/control index 578994809..fd4e31d09 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: lightningd Section: net Priority: optional Maintainer: Christian Decker -Build-Depends: debhelper (>=9),autotools-dev,build-essential,pkg-config,libsqlite3-dev,git,libtool,libgmp-dev,libsqlite3-dev,python,python3,net-tools,zlib1g-dev,python3-pip,autoconf,automake,python3-mako,gettext,libpq-dev +Build-Depends: debhelper (>=9),autotools-dev,build-essential,pkg-config,libsqlite3-dev,git,libtool,libgmp-dev,libsqlite3-dev,python3,net-tools,zlib1g-dev,python3-pip,autoconf,automake,python3-mako,gettext,libpq-dev Depends: libsqlite3-0 bitcoind Standards-Version: 3.9.6 Homepage: https://github.com/ElementsProject/lightning diff --git a/debian/rules b/debian/rules index 21efcdfbe..afe2731e9 100755 --- a/debian/rules +++ b/debian/rules @@ -24,7 +24,9 @@ override_dh_auto_build: # dh_make generated override targets # This is example for Cmake (See https://bugs.debian.org/641051 ) override_dh_auto_configure: - ./configure CC=gcc --disable-developer --disable-valgrind --prefix=/usr + # PYTHON_VERSION is required for libwally's ./configure script so it + # doesn't fall back on the deprecated (and removed) version 2 + PYTHON_VERSION=3 ./configure CC=gcc --disable-developer --disable-valgrind --prefix=/usr override_dh_auto_test: echo Skipping