mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00

Using COMMON_LICENSE_DIR in LIC_FILES_CHKSUM of downloaded code is never the right thing to do, there must be some license information and that has to be checked instead. In several cases the claimed LICENSE was also incorrect. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
33 lines
956 B
PHP
33 lines
956 B
PHP
DESCRIPTION = "Protocol Buffers"
|
|
HOMEPAGE = "https://developers.google.com/protocol-buffers/"
|
|
SECTION = "devel/python"
|
|
|
|
LICENSE = "BSD-3-Clause"
|
|
LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=19e8f490f9526b1de84f8d949cfcfd4e"
|
|
|
|
inherit pypi
|
|
|
|
SRC_URI[md5sum] = "ca881f18795e024a2b935d5bae9b1ebe"
|
|
SRC_URI[sha256sum] = "d831b047bd69becaf64019a47179eb22118a50dd008340655266a906c69c6417"
|
|
|
|
# http://errors.yoctoproject.org/Errors/Details/184715/
|
|
# Can't find required file: ../src/google/protobuf/descriptor.proto
|
|
CLEANBROKEN = "1"
|
|
|
|
UPSTREAM_CHECK_REGEX = "protobuf/(?P<pver>\d+(\.\d+)+)/"
|
|
|
|
RDEPENDS_${PN} += " \
|
|
${PYTHON_PN}-datetime \
|
|
${PYTHON_PN}-json \
|
|
${PYTHON_PN}-logging \
|
|
${PYTHON_PN}-netclient \
|
|
${PYTHON_PN}-numbers \
|
|
${PYTHON_PN}-pkgutil \
|
|
${PYTHON_PN}-six \
|
|
${PYTHON_PN}-unittest \
|
|
"
|
|
|
|
# For usage in other recipies when compiling protobuf files (e.g. by grpcio-tools)
|
|
BBCLASSEXTEND = "native nativesdk"
|
|
|