From d377521c6ffa55d7357c407bde2c0ed9a8e65a33 Mon Sep 17 00:00:00 2001 From: Dmitry Rozhkov Date: Fri, 28 Oct 2016 11:33:08 +0300 Subject: [PATCH 1/2] python-rosdistro: add missing lib rosdep2 depends on roswtf reports uninitialized /etc/ros structure and recommends to fix the issue by running `rosdep init`. But rosdep throws an exception when trying to import the missing rosdistro library. The library is supposed to be dropped in kinetic, but it's still needed in indigo which the layer is based on at the moment. So, the patch adds the library to the layer. Signed-off-by: Dmitry Rozhkov --- .../python/python-rosdistro_0.4.7.bb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 recipes-devtools/python/python-rosdistro_0.4.7.bb diff --git a/recipes-devtools/python/python-rosdistro_0.4.7.bb b/recipes-devtools/python/python-rosdistro_0.4.7.bb new file mode 100644 index 0000000..68b77a5 --- /dev/null +++ b/recipes-devtools/python/python-rosdistro_0.4.7.bb @@ -0,0 +1,17 @@ +DESCRIPTION = "ROS package library" +SECTION = "devel/python" +LICENSE = "BSD & MIT" +LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=48623a4c0f1b1f65fae1dedd990a7f54" +SRCNAME = "rosdistro" + +SRC_URI = "http://download.ros.org/downloads/rosdistro/rosdistro-${PV}.tar.gz" +SRC_URI[md5sum] = "a699690fab755fd1b92b2ac04933e227" +SRC_URI[sha256sum] = "f44757336bcee4089f6f6d570248e7c4e09eebfe5238d6ae60d8bd35361eedc4" + +S = "${WORKDIR}/${SRCNAME}-${PV}" + +RDEPENDS_${PN} += "python-pyyaml" + +inherit setuptools + +BBCLASSEXTEND = "native" From bb78f8f46d3448e22267b118d0bbbeafa2b9412c Mon Sep 17 00:00:00 2001 From: Dmitry Rozhkov Date: Mon, 31 Oct 2016 09:37:17 +0200 Subject: [PATCH 2/2] python-rosdep: Add run-time dependency on python-rosdistro python-rosdep still depends on python-rosdistro in ROS Indigo. This dependency needs to be dropped after updating the meta layer to Kinetic. Signed-off-by: Dmitry Rozhkov --- recipes-devtools/python/python-rosdep_0.11.5.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-devtools/python/python-rosdep_0.11.5.bb b/recipes-devtools/python/python-rosdep_0.11.5.bb index 3ed088c..adf7ae0 100644 --- a/recipes-devtools/python/python-rosdep_0.11.5.bb +++ b/recipes-devtools/python/python-rosdep_0.11.5.bb @@ -12,7 +12,7 @@ SRC_URI[sha256sum] = "46e072074270a1ea25411829814f4bdc1f34b358c950e9b8a7b75b4a40 S = "${WORKDIR}/${SRCNAME}-${PV}" -RDEPENDS_${PN} += "python-catkin-pkg python-rospkg python-pyyaml python-netclient" +RDEPENDS_${PN} += "python-catkin-pkg python-rospkg python-pyyaml python-netclient python-rosdistro" inherit setuptools