meta-python: Add Protobuf and gRPC Python recipes

Add recipes for Python PIP packages for Google's Protobuf, gRPC and gRPC
tools.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Krzysztof Kozlowski
2017-07-09 17:47:21 +02:00
committed by Martin Jansa
parent c15782ebe5
commit d0513b1d61
3 changed files with 56 additions and 0 deletions
@@ -0,0 +1,16 @@
DESCRIPTION = "Protocol Buffers"
HOMEPAGE = "https://developers.google.com/protocol-buffers/"
SECTION = "devel/python"
RDEPENDS_${PN} = "python-six"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9"
inherit pypi setuptools
SRC_URI[md5sum] = "27941e8e42e83d5183605054576882dd"
SRC_URI[sha256sum] = "1cbcee2c45773f57cb6de7ee0eceb97f92b9b69c0178305509b162c0160c1f04"
# For usage in other recipies when compiling protobuf files (e.g. by grpcio-tools)
BBCLASSEXTEND = "native"