[Buildroot] [PATCH] package/python-shutilwhich: also available in python3

Yegor Yefremov yegorslists at googlemail.com
Sat Dec 30 10:34:21 UTC 2017


On Sat, Dec 30, 2017 at 11:30 AM, Yann E. MORIN <yann.morin.1998 at 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 at free.fr>
> Cc: Mauro Condarelli <mc5686 at mclink.it>
> Cc: Yegor Yefremov <yegorslists at googlemail.com>

Reviewed-by: Yegor Yefremov <yegorslists at 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
>


More information about the buildroot mailing list