[Buildroot] [PATCH 1/1] python-protobuf: update dependencies
Yegor Yefremov
yegorslists at googlemail.com
Mon Oct 23 15:52:30 UTC 2017
Hi Alexey,
On Mon, Oct 23, 2017 at 5:10 PM, Alexey Roslyakov
<alexey.roslyakov at gmail.com> wrote:
> Since protobuf is compatible with Python3, remove Python2-only
> dependency.
>
> It depends on python-six now, add this missing dependency.
>
> Signed-off-by: Alexey Roslyakov <alexey.roslyakov at gmail.com>
> ---
> package/python-protobuf/Config.in | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/package/python-protobuf/Config.in b/package/python-protobuf/Config.in
> index 68523e9c60..66ce0163f6 100644
> --- a/package/python-protobuf/Config.in
> +++ b/package/python-protobuf/Config.in
> @@ -1,9 +1,10 @@
> config BR2_PACKAGE_PYTHON_PROTOBUF
> bool "python-protobuf"
> - depends on BR2_PACKAGE_PYTHON
> + depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
just remove "depends on BR2_PACKAGE_PYTHON". This means the package is
compatible with both Python versions.
Yegor
> # host-protobuf only builds on certain architectures
> depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
> depends on BR2_HOST_GCC_AT_LEAST_4_5 # host-protobuf
> + select BR2_PACKAGE_PYTHON_SIX # runtime
> help
> Python implementation of the Google Protocol Buffers.
>
> --
> 2.13.6
>
More information about the buildroot
mailing list