From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1XwZIG-0005T5-Te for ptxdist@pengutronix.de; Thu, 04 Dec 2014 17:30:16 +0100 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1XwZIG-0002wA-SF for ptxdist@pengutronix.de; Thu, 04 Dec 2014 17:30:16 +0100 Date: Thu, 4 Dec 2014 17:30:16 +0100 From: Michael Olbrich Message-ID: <20141204163016.GF16181@pengutronix.de> References: <1417617512-27367-1-git-send-email-mpa@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1417617512-27367-1-git-send-email-mpa@pengutronix.de> Subject: Re: [ptxdist] [PATCH] host-system-python: Add python-bz2 module Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de On Wed, Dec 03, 2014 at 03:38:32PM +0100, Markus Pargmann wrote: > Signed-off-by: Markus Pargmann Thanks, applied. Michael > --- > 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 064f3e0422fb..300b078e7f19 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 6edccab8132c..84be5b2dde2e 100644 > --- a/rules/host-system-python.make > +++ b/rules/host-system-python.make > @@ -34,6 +34,12 @@ ifdef PTXCONF_HOST_SYSTEM_PYTHON_ARGPARSE > 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) > > -- > 2.1.3 > > > -- > ptxdist mailing list > ptxdist@pengutronix.de > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de