From 5ea5476e0298ed5371a45097b7feaf3fe9f9a292 Mon Sep 17 00:00:00 2001
From: Alexis Ballier <aballier@gentoo.org>
Date: Fri, 9 Oct 2015 19:39:44 +0200
Subject: ros-catkin.eclass: Add PYTHON_DEPS for python-enabled packages.

The dependency was indirect because dev-python/empy is already mandatory, but better make it explicit. Thanks to hasufel.
---
 eclass/ros-catkin.eclass | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'eclass/ros-catkin.eclass')

diff --git a/eclass/ros-catkin.eclass b/eclass/ros-catkin.eclass
index 7ceb1b3f38b8..f1bc32eb8f94 100644
--- a/eclass/ros-catkin.eclass
+++ b/eclass/ros-catkin.eclass
@@ -63,7 +63,8 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 
 if [ -n "${CATKIN_DO_PYTHON_MULTIBUILD}" ] ; then
-	RDEPEND="${RDEPEND} dev-lang/python-exec:2"
+	RDEPEND="${RDEPEND} dev-lang/python-exec:2 ${PYTHON_DEPS}"
+	DEPEND="${DEPEND} ${PYTHON_DEPS}"
 fi
 
 # @ECLASS-VARIABLE: CATKIN_HAS_MESSAGES
-- 
cgit v1.2.3-65-gdbad