From d377521c6ffa55d7357c407bde2c0ed9a8e65a33 Mon Sep 17 00:00:00 2001 From: Dmitry Rozhkov Date: Fri, 28 Oct 2016 11:33:08 +0300 Subject: [PATCH] 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"