Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/python-shutilwhich: also available in python3
@ 2017-12-30 10:30 Yann E. MORIN
  2017-12-30 10:34 ` Yegor Yefremov
  2017-12-30 17:28 ` Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Yann E. MORIN @ 2017-12-30 10:30 UTC (permalink / raw)
  To: buildroot

When in python3, shutilwhich will simply use shutil.which.

Some packages (e.g. crossbar.io) unconditionally require shutilwhich,
even when they are running under python3.

So, enable python-shutilwhich even for python3.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Mauro Condarelli <mc5686@mclink.it>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
---
 package/python-shutilwhich/Config.in | 1 -
 1 file changed, 1 deletion(-)

diff --git a/package/python-shutilwhich/Config.in b/package/python-shutilwhich/Config.in
index abdc8d77a1..a75a63bbf4 100644
--- a/package/python-shutilwhich/Config.in
+++ b/package/python-shutilwhich/Config.in
@@ -1,6 +1,5 @@
 config BR2_PACKAGE_PYTHON_SHUTILWHICH
 	bool "python-shutilwhich"
-	depends on BR2_PACKAGE_PYTHON
 	help
 	  shutil.which for those not using Python 3.3 yet.
 
-- 
2.11.0

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

* [Buildroot] [PATCH] package/python-shutilwhich: also available in python3
  2017-12-30 10:30 [Buildroot] [PATCH] package/python-shutilwhich: also available in python3 Yann E. MORIN
@ 2017-12-30 10:34 ` Yegor Yefremov
  2017-12-30 17:28 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Yegor Yefremov @ 2017-12-30 10:34 UTC (permalink / raw)
  To: buildroot

On Sat, Dec 30, 2017 at 11:30 AM, Yann E. MORIN <yann.morin.1998@free.fr> wrote:
> When in python3, shutilwhich will simply use shutil.which.
>
> Some packages (e.g. crossbar.io) unconditionally require shutilwhich,
> even when they are running under python3.
>
> So, enable python-shutilwhich even for python3.
>
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> Cc: Mauro Condarelli <mc5686@mclink.it>
> Cc: Yegor Yefremov <yegorslists@googlemail.com>

Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>

> ---
>  package/python-shutilwhich/Config.in | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/package/python-shutilwhich/Config.in b/package/python-shutilwhich/Config.in
> index abdc8d77a1..a75a63bbf4 100644
> --- a/package/python-shutilwhich/Config.in
> +++ b/package/python-shutilwhich/Config.in
> @@ -1,6 +1,5 @@
>  config BR2_PACKAGE_PYTHON_SHUTILWHICH
>         bool "python-shutilwhich"
> -       depends on BR2_PACKAGE_PYTHON
>         help
>           shutil.which for those not using Python 3.3 yet.
>
> --
> 2.11.0
>

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

* [Buildroot] [PATCH] package/python-shutilwhich: also available in python3
  2017-12-30 10:30 [Buildroot] [PATCH] package/python-shutilwhich: also available in python3 Yann E. MORIN
  2017-12-30 10:34 ` Yegor Yefremov
@ 2017-12-30 17:28 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2017-12-30 17:28 UTC (permalink / raw)
  To: buildroot

Hello,

On Sat, 30 Dec 2017 11:30:08 +0100, Yann E. MORIN wrote:
> When in python3, shutilwhich will simply use shutil.which.
> 
> Some packages (e.g. crossbar.io) unconditionally require shutilwhich,
> even when they are running under python3.
> 
> So, enable python-shutilwhich even for python3.
> 
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> Cc: Mauro Condarelli <mc5686@mclink.it>
> Cc: Yegor Yefremov <yegorslists@googlemail.com>
> ---
>  package/python-shutilwhich/Config.in | 1 -
>  1 file changed, 1 deletion(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

end of thread, other threads:[~2017-12-30 17:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-30 10:30 [Buildroot] [PATCH] package/python-shutilwhich: also available in python3 Yann E. MORIN
2017-12-30 10:34 ` Yegor Yefremov
2017-12-30 17:28 ` Thomas Petazzoni

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