diff options
author | Jens Rehsack <sno@netbsd.org> | 2018-08-27 13:07:30 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-08-27 10:53:58 -0700 |
commit | e78cf913076ba28633d0ec4540f15820a0d944d2 (patch) | |
tree | adb40c6af2cf6555f9d166eb0d96d0b51a57e745 /meta-python | |
parent | 8d3d5299f463efb5e96404eb9e416199ec66e05c (diff) | |
download | meta-openembedded-e78cf913076ba28633d0ec4540f15820a0d944d2.tar.gz |
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.
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python')
3 files changed, 4 insertions, 5 deletions
diff --git a/meta-python/recipes-devtools/python/python-protobuf.inc b/meta-python/recipes-devtools/python/python-protobuf.inc index 6a0568ae6..a1866b351 100644 --- a/meta-python/recipes-devtools/python/python-protobuf.inc +++ b/meta-python/recipes-devtools/python/python-protobuf.inc | |||
@@ -10,6 +10,10 @@ inherit pypi | |||
10 | SRC_URI[md5sum] = "074abcceee0d795ba34ad6430f71d0e8" | 10 | SRC_URI[md5sum] = "074abcceee0d795ba34ad6430f71d0e8" |
11 | SRC_URI[sha256sum] = "a37836aa47d1b81c2db1a6b7a5e79926062b5d76bd962115a0e615551be2b48d" | 11 | SRC_URI[sha256sum] = "a37836aa47d1b81c2db1a6b7a5e79926062b5d76bd962115a0e615551be2b48d" |
12 | 12 | ||
13 | # http://errors.yoctoproject.org/Errors/Details/184715/ | ||
14 | # Can't find required file: ../src/google/protobuf/descriptor.proto | ||
15 | CLEANBROKEN = "1" | ||
16 | |||
13 | UPSTREAM_CHECK_REGEX = "protobuf/(?P<pver>\d+(\.\d+)+)/" | 17 | UPSTREAM_CHECK_REGEX = "protobuf/(?P<pver>\d+(\.\d+)+)/" |
14 | 18 | ||
15 | RDEPENDS_${PN} += " \ | 19 | RDEPENDS_${PN} += " \ |
diff --git a/meta-python/recipes-devtools/python/python-protobuf_3.6.0.bb b/meta-python/recipes-devtools/python/python-protobuf_3.6.0.bb index dddc9bbb5..f04fc489f 100644 --- a/meta-python/recipes-devtools/python/python-protobuf_3.6.0.bb +++ b/meta-python/recipes-devtools/python/python-protobuf_3.6.0.bb | |||
@@ -1,6 +1,2 @@ | |||
1 | inherit setuptools | 1 | inherit setuptools |
2 | require python-protobuf.inc | 2 | require python-protobuf.inc |
3 | |||
4 | # http://errors.yoctoproject.org/Errors/Details/184715/ | ||
5 | # Can't find required file: ../src/google/protobuf/descriptor.proto | ||
6 | CLEANBROKEN = "1" | ||
diff --git a/meta-python/recipes-devtools/python/python3-protobuf_3.6.0.bb b/meta-python/recipes-devtools/python/python3-protobuf_3.6.0.bb index 53d5528c4..781d1dc4d 100644 --- a/meta-python/recipes-devtools/python/python3-protobuf_3.6.0.bb +++ b/meta-python/recipes-devtools/python/python3-protobuf_3.6.0.bb | |||
@@ -1,3 +1,2 @@ | |||
1 | inherit setuptools3 | 1 | inherit setuptools3 |
2 | require python-protobuf.inc | 2 | require python-protobuf.inc |
3 | CLEANBROKEN = "1" | ||