From c8c42572b91f92492357170f0c33cb3f5f9a75c1 Mon Sep 17 00:00:00 2001 From: Jens Rehsack Date: Mon, 27 Aug 2018 13:07:30 +0200 Subject: python{3, }-protobuf: consolidate CLEANBROKEN Since python-protobuf and python3-protobuf share the same build instructions, it's sane to clarify for both at the same place, that running setup.py clean is wrong in configure stage. (From meta-openembedded commit: e78cf913076ba28633d0ec4540f15820a0d944d2) Signed-off-by: Jens Rehsack Signed-off-by: Khem Raj Signed-off-by: Tim Orling --- recipes-devtools/python/python-protobuf.inc | 4 ++++ recipes-devtools/python/python-protobuf_3.6.0.bb | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/recipes-devtools/python/python-protobuf.inc b/recipes-devtools/python/python-protobuf.inc index 6a0568a..a1866b3 100644 --- a/recipes-devtools/python/python-protobuf.inc +++ b/recipes-devtools/python/python-protobuf.inc @@ -10,6 +10,10 @@ inherit pypi SRC_URI[md5sum] = "074abcceee0d795ba34ad6430f71d0e8" SRC_URI[sha256sum] = "a37836aa47d1b81c2db1a6b7a5e79926062b5d76bd962115a0e615551be2b48d" +# http://errors.yoctoproject.org/Errors/Details/184715/ +# Can't find required file: ../src/google/protobuf/descriptor.proto +CLEANBROKEN = "1" + UPSTREAM_CHECK_REGEX = "protobuf/(?P\d+(\.\d+)+)/" RDEPENDS_${PN} += " \ diff --git a/recipes-devtools/python/python-protobuf_3.6.0.bb b/recipes-devtools/python/python-protobuf_3.6.0.bb index dddc9bb..f04fc48 100644 --- a/recipes-devtools/python/python-protobuf_3.6.0.bb +++ b/recipes-devtools/python/python-protobuf_3.6.0.bb @@ -1,6 +1,2 @@ inherit setuptools require python-protobuf.inc - -# http://errors.yoctoproject.org/Errors/Details/184715/ -# Can't find required file: ../src/google/protobuf/descriptor.proto -CLEANBROKEN = "1" -- cgit 1.2.3-korg