mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-04 16:10:10 +00:00
python3-protobuf: add python3 version
Signed-off-by: Pascal Bach <pascal.bach@nextrem.ch> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
parent
5205419c22
commit
328156b2b0
16
meta-python/recipes-devtools/python/python-protobuf.inc
Normal file
16
meta-python/recipes-devtools/python/python-protobuf.inc
Normal file
|
|
@ -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"
|
||||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -0,0 +1,2 @@
|
|||
inherit setuptools3
|
||||
require python-protobuf.inc
|
||||
Loading…
Reference in New Issue
Block a user