diff options
author | Pascal Bach <pascal.bach@siemens.com> | 2017-10-04 14:02:34 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-10-15 17:29:29 +0000 |
commit | e9edfce2abfb3c56c1bd81217170f4f3b8645047 (patch) | |
tree | 366dc2b5182835350cff2a11fa60107f7fd1a28a /recipes-devtools/python | |
parent | 19953d4818d6e525d817e51d0cf25d0394670728 (diff) | |
download | meta-python2-e9edfce2abfb3c56c1bd81217170f4f3b8645047.tar.gz |
python3-protobuf: add python3 version
(From meta-openembedded commit: 328156b2b070b411e4ce7ad45a3e9c43b54dfc28)
Signed-off-by: Pascal Bach <pascal.bach@nextrem.ch>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Tim Orling <ticotimo@gmail.com>
Diffstat (limited to 'recipes-devtools/python')
-rw-r--r-- | recipes-devtools/python/python-protobuf.inc | 16 | ||||
-rw-r--r-- | recipes-devtools/python/python-protobuf_3.4.0.bb | 18 |
2 files changed, 18 insertions, 16 deletions
diff --git a/recipes-devtools/python/python-protobuf.inc b/recipes-devtools/python/python-protobuf.inc new file mode 100644 index 0000000..2f59ef9 --- /dev/null +++ b/recipes-devtools/python/python-protobuf.inc @@ -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 + +SRC_URI[md5sum] = "bfc0c61c156a995e909521697e755780" +SRC_URI[sha256sum] = "ef02609ef445987976a3a26bff77119c518e0915c96661c3a3b17856d0ef6374" + +# For usage in other recipies when compiling protobuf files (e.g. by grpcio-tools) +BBCLASSEXTEND = "native" diff --git a/recipes-devtools/python/python-protobuf_3.4.0.bb b/recipes-devtools/python/python-protobuf_3.4.0.bb index cde62b7..f04fc48 100644 --- a/recipes-devtools/python/python-protobuf_3.4.0.bb +++ b/recipes-devtools/python/python-protobuf_3.4.0.bb @@ -1,16 +1,2 @@ -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] = "bfc0c61c156a995e909521697e755780" -SRC_URI[sha256sum] = "ef02609ef445987976a3a26bff77119c518e0915c96661c3a3b17856d0ef6374" - -# For usage in other recipies when compiling protobuf files (e.g. by grpcio-tools) -BBCLASSEXTEND = "native" +inherit setuptools +require python-protobuf.inc |