commit:     5ea5476e0298ed5371a45097b7feaf3fe9f9a292
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  9 17:39:44 2015 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Fri Oct  9 17:39:52 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ea5476e

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(-)

diff --git a/eclass/ros-catkin.eclass b/eclass/ros-catkin.eclass
index 7ceb1b3..f1bc32e 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

Reply via email to