mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] host-system-python: Add python-bz2 module
@ 2014-12-03 14:38 Markus Pargmann
  2014-12-04 16:30 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Markus Pargmann @ 2014-12-03 14:38 UTC (permalink / raw)
  To: ptxdist; +Cc: Markus Pargmann

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
---
 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] [PATCH] host-system-python: Add python-bz2 module
  2014-12-03 14:38 [ptxdist] [PATCH] host-system-python: Add python-bz2 module Markus Pargmann
@ 2014-12-04 16:30 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2014-12-04 16:30 UTC (permalink / raw)
  To: ptxdist

On Wed, Dec 03, 2014 at 03:38:32PM +0100, Markus Pargmann wrote:
> Signed-off-by: Markus Pargmann <mpa@pengutronix.de>

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-12-04 16:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-03 14:38 [ptxdist] [PATCH] host-system-python: Add python-bz2 module Markus Pargmann
2014-12-04 16:30 ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox