From d6aa43731d89b4d2201fe9252a4e680fcadbba50 Mon Sep 17 00:00:00 2001
From: Riccardo Pittau <elfosardo@gmail.com>
Date: Tue, 11 Aug 2020 14:49:47 +0200
Subject: [PATCH] Do not install python2 packages in ubuntu focal

The packages yum-utils and python-lzma have python 2 dependencies
and they're not present for Ubuntu Focal.
The package zypper should not be installed as it's not used.

Closes-Bug: 1891299

Change-Id: I3c96ae7ebb814973b77b4a1b966c39658acc5683
---
 bindep.txt | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bindep.txt b/bindep.txt
index 61679d071..30a0f0272 100644
--- a/bindep.txt
+++ b/bindep.txt
@@ -13,17 +13,17 @@ git
 
 squashfs-tools [!platform:suse]
 squashfs [platform:suse]
-zypper [!platform:debian-stretch !platform:redhat !platform:ubuntu-trusty !platform:ubuntu-bionic]
+zypper [!platform:debian-stretch !platform:redhat !platform:ubuntu-trusty !platform:ubuntu-bionic !platform:ubuntu-focal]
 gnupg2 [!platform:redhat !platform:ubuntu-trusty !platform:suse]
 
 # ubuntu
 apt-transport-https [platform:dpkg]
 inetutils-ping [platform:dpkg]
-python-lzma [platform:dpkg]
+python-lzma [platform:dpkg !platform:ubuntu-focal]
 qemu-utils [platform:dpkg]
 rpm [platform:dpkg]
 uuid-runtime [platform:dpkg]
-yum-utils [platform:dpkg]
+yum-utils [platform:dpkg !platform:ubuntu-focal]
 debootstrap [platform:dpkg]
 procps [platform:dpkg]