python-protobuf: update dependencies
authorAlexey Roslyakov <alexey.roslyakov@gmail.com>
Mon, 23 Oct 2017 16:19:44 +0000 (23:19 +0700)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sun, 5 Nov 2017 14:51:15 +0000 (15:51 +0100)
Since version 3.0.0 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@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/python-protobuf/Config.in

index 68523e9c603a1035c5e5ab867333d498d3286938..607fe48c2acfde74623d315d512213738cecc1cc 100644 (file)
@@ -1,9 +1,9 @@
 config BR2_PACKAGE_PYTHON_PROTOBUF
        bool "python-protobuf"
-       depends on BR2_PACKAGE_PYTHON
        # 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.