From dbd740eca61007b7d76ba92f1c12808f7b568bfc Mon Sep 17 00:00:00 2001 From: Markus Pargmann Date: Wed, 3 Dec 2014 15:38:32 +0100 Subject: host-system-python: Add python-bz2 module Signed-off-by: Markus Pargmann Signed-off-by: Michael Olbrich --- rules/host-system-python.in | 3 +++ rules/host-system-python.make | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/rules/host-system-python.in b/rules/host-system-python.in index 064f3e042..300b078e7 100644 --- a/rules/host-system-python.in +++ b/rules/host-system-python.in @@ -11,4 +11,7 @@ config HOST_SYSTEM_PYTHON_XML2 config HOST_SYSTEM_PYTHON_ARGPARSE bool +config HOST_SYSTEM_PYTHON_BZ2 + bool + endif diff --git a/rules/host-system-python.make b/rules/host-system-python.make index 6edccab81..84be5b2dd 100644 --- a/rules/host-system-python.make +++ b/rules/host-system-python.make @@ -33,6 +33,12 @@ ifdef PTXCONF_HOST_SYSTEM_PYTHON_ARGPARSE @python -c 'import argparse' 2>/dev/null || \ ptxd_bailout "Python argparse module not found! \ Please install python-argparse (debian)"; +endif +ifdef PTXCONF_HOST_SYSTEM_PYTHON_BZ2 + @echo "Checking for Python bz2 ..." + @python -c 'import bz2' 2>/dev/null || \ + ptxd_bailout "Python bz2 module not found! \ + Please install python-bz2"; endif @echo @$(call touch) -- cgit v1.2.3