Skip to contentSkip to conversation

python-grpcio-tools: Fix DEPENDS append to grpcio module

PATCH In review Andrei Gherzan 2 participants 3 messages Mar 2, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-grpcio-tools: Fix DEPENDS append to grpcio module

From: Andrei Gherzan <[email protected]>

There was a missing whitespace leading to errors like:

ERROR: Nothing PROVIDES 'python3python3-grpcio' (but [...]/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-tools_1.14.1.bb DEPENDS on
or otherwise requires it). Close matches:
python3-grpcio

---
 meta-python/recipes-devtools/python/python-grpcio-tools.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python-grpcio-tools.inc +1 -1
index 1a15c48de..a3d34cf46 100644
@@ -2,7 +2,7 @@ DESCRIPTION = "Google gRPC tools"
 HOMEPAGE = "http://www.grpc.io/"
 SECTION = "devel/python"
 
-DEPENDS_append = "${PYTHON_PN}-grpcio"
+DEPENDS += "${PYTHON_PN}-grpcio"
 RDEPENDS_${PN} = "${PYTHON_PN}-grpcio"
 
 LICENSE = "Apache-2.0"
Signature · 1 line
2.30.1
#1 lore raw

This was already fixed in:
https://git.openembedded.org/meta-openembedded/commit/?h=dunfell&id=7fbe300c6d3b7e116dd7a56e16f85ff78d8f522c

Quoted 37 lines · Andrei Gherzan

From: Andrei Gherzan <[email protected]>

There was a missing whitespace leading to errors like:

ERROR: Nothing PROVIDES 'python3python3-grpcio' (but [...]/meta-openembedded/meta-python/recipes-devtools/python/ python3-grpcio-tools_1.14.1.bb
DEPENDS on
or otherwise requires it). Close matches:
python3-grpcio

---
 meta-python/recipes-devtools/python/python-grpcio-tools.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python-grpcio-tools.inc +1 -2
index 1a15c48de..a3d34cf46 100644
@@ -2,7 +2,7 @@ DESCRIPTION = "Google gRPC tools"
 HOMEPAGE = "http://www.grpc.io/"
 SECTION = "devel/python"
 
-DEPENDS_append = "${PYTHON_PN}-grpcio"
+DEPENDS += "${PYTHON_PN}-grpcio"
 RDEPENDS_${PN} = "${PYTHON_PN}-grpcio"
 
 LICENSE = "Apache-2.0"
--

2.30.1