summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2015-10-09 19:39:44 +0200
committerAlexis Ballier <aballier@gentoo.org>2015-10-09 19:39:52 +0200
commit5ea5476e0298ed5371a45097b7feaf3fe9f9a292 (patch)
treec8444b3a0fd7ec674f0a47cda3232a9cc335b370 /eclass
parentx11-misc/screengrab: version bump (diff)
downloadgentoo-5ea5476e0298ed5371a45097b7feaf3fe9f9a292.tar.gz
gentoo-5ea5476e0298ed5371a45097b7feaf3fe9f9a292.tar.bz2
gentoo-5ea5476e0298ed5371a45097b7feaf3fe9f9a292.zip
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.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ros-catkin.eclass3
1 files changed, 2 insertions, 1 deletions
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