diff --git a/dev-ros/rosserial_xbee/rosserial_xbee-0.8.0.ebuild b/dev-ros/rosserial_xbee/rosserial_xbee-0.8.0.ebuild index 42c824d074c89..aab6d76630081 100644 --- a/dev-ros/rosserial_xbee/rosserial_xbee-0.8.0.ebuild +++ b/dev-ros/rosserial_xbee/rosserial_xbee-0.8.0.ebuild @@ -14,10 +14,10 @@ SLOT="0" IUSE="" RDEPEND=" - dev-ros/rospy[${PYTHON_USEDEP}] - dev-python/pyserial[${PYTHON_USEDEP}] + dev-ros/rospy[${PYTHON_SINGLE_USEDEP}] + $(python_gen_cond_dep "dev-python/pyserial[\${PYTHON_USEDEP}]") dev-ros/rosserial_msgs[${CATKIN_MESSAGES_PYTHON_USEDEP}] dev-ros/diagnostic_msgs[${CATKIN_MESSAGES_PYTHON_USEDEP}] - dev-ros/rosserial_python[${PYTHON_USEDEP}] + dev-ros/rosserial_python[${PYTHON_SINGLE_USEDEP}] " DEPEND="${RDEPEND}" diff --git a/dev-ros/rosserial_xbee/rosserial_xbee-9999.ebuild b/dev-ros/rosserial_xbee/rosserial_xbee-9999.ebuild index 42c824d074c89..aab6d76630081 100644 --- a/dev-ros/rosserial_xbee/rosserial_xbee-9999.ebuild +++ b/dev-ros/rosserial_xbee/rosserial_xbee-9999.ebuild @@ -14,10 +14,10 @@ SLOT="0" IUSE="" RDEPEND=" - dev-ros/rospy[${PYTHON_USEDEP}] - dev-python/pyserial[${PYTHON_USEDEP}] + dev-ros/rospy[${PYTHON_SINGLE_USEDEP}] + $(python_gen_cond_dep "dev-python/pyserial[\${PYTHON_USEDEP}]") dev-ros/rosserial_msgs[${CATKIN_MESSAGES_PYTHON_USEDEP}] dev-ros/diagnostic_msgs[${CATKIN_MESSAGES_PYTHON_USEDEP}] - dev-ros/rosserial_python[${PYTHON_USEDEP}] + dev-ros/rosserial_python[${PYTHON_SINGLE_USEDEP}] " DEPEND="${RDEPEND}"