python-protobuf: disable clean
PATCH 1/2 python-protobuf: disable clean
The distutils class does a 'setup.py clean' but this breaks the protobuf build:
| Can't find required file: ../src/google/protobuf/descriptor.proto | Generating google/protobuf/descriptor_pb2.py... | ERROR: python3 setup.py build_ext execution failed.
Disable the clean to work around this.
Signed-off-by Ross Burton <[email protected]>
--- meta-python/recipes-devtools/python/python-protobuf.inc | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python-protobuf.inc +2 -0
@@ -25,3 +25,5 @@ RDEPENDS_${PN} += " \ # For usage in other recipies when compiling protobuf files (e.g. by grpcio-tools) BBCLASSEXTEND = "native" + +CLEANBROKEN = "1"
Signature · 1 line
2.11.0
PATCH 2/2 python-panda: add cython to DEPENDS
The distutils class does a 'setup.py clean' now, deleting files which then need to be regenerated. Add Cython to the build dependencies so this can be done.
Signed-off-by Ross Burton <[email protected]>
--- meta-python/recipes-devtools/python/python-pandas.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python-pandas.inc +1 -1
@@ -12,7 +12,7 @@ SRC_URI[sha256sum] = "50b52af2af2e15f4aeb2fe196da073a8c131fa02e433e105d95ce40016 inherit pypi DEPENDS += " \ - ${PYTHON_PN}-numpy-native \ + ${PYTHON_PN}-numpy-native ${PYTHON_PN}-cython-native \ " RDEPENDS_${PN} += " \
Signature · 1 line
2.11.0