From ebacf5e5c6d104fde512fa166d818dc86bb0a71b Mon Sep 17 00:00:00 2001 From: Andre Goddard Rosa Date: Fri, 25 May 2018 10:33:40 -0700 Subject: [PATCH] ros2cli, rosidl-generator-c: Add runtime dependencies on few more python packages Fixes rosidl: ImportError: No module named 'json' ImportError: No module named 'em' Fixes ros2: ImportError: No module named 'xmlrpc' ImportError: No module named 'pydoc' Signed-off-by: Martin Jansa --- recipes-ros2/ros2cli/ros2cli_git.bb | 2 +- recipes-ros2/rosidl/rosidl-generator-c_git.bb | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes-ros2/ros2cli/ros2cli_git.bb b/recipes-ros2/ros2cli/ros2cli_git.bb index fea579a..fc57813 100644 --- a/recipes-ros2/ros2cli/ros2cli_git.bb +++ b/recipes-ros2/ros2cli/ros2cli_git.bb @@ -8,4 +8,4 @@ S = "${WORKDIR}/git/ros2cli" inherit setuptools3 -RDEPENDS_${PN} += "rclpy python3-setuptools" +RDEPENDS_${PN} += "rclpy python3-setuptools ${PYTHON_PN}-xmlrpc ${PYTHON_PN}-pydoc" diff --git a/recipes-ros2/rosidl/rosidl-generator-c_git.bb b/recipes-ros2/rosidl/rosidl-generator-c_git.bb index 292b1be..2af8b56 100644 --- a/recipes-ros2/rosidl/rosidl-generator-c_git.bb +++ b/recipes-ros2/rosidl/rosidl-generator-c_git.bb @@ -7,6 +7,8 @@ include rosidl.inc RDEPENDS_${PN} += " \ rosidl-parser \ + ${PYTHON_PN}-json \ + ${PYTHON_PN}-empy \ " RDEPENDS_${PN}-dev += " \