summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ros')
-rw-r--r--dev-ros/ament_cmake_gtest/ament_cmake_gtest-0.8.1.ebuild5
-rw-r--r--dev-ros/ament_cmake_gtest/ament_cmake_gtest-9999.ebuild5
2 files changed, 10 insertions, 0 deletions
diff --git a/dev-ros/ament_cmake_gtest/ament_cmake_gtest-0.8.1.ebuild b/dev-ros/ament_cmake_gtest/ament_cmake_gtest-0.8.1.ebuild
index 0987702da776..55a2af945684 100644
--- a/dev-ros/ament_cmake_gtest/ament_cmake_gtest-0.8.1.ebuild
+++ b/dev-ros/ament_cmake_gtest/ament_cmake_gtest-0.8.1.ebuild
@@ -39,3 +39,8 @@ BDEPEND="
$(python_gen_any_dep 'dev-python/ament_package[${PYTHON_USEDEP}] dev-python/catkin_pkg[${PYTHON_USEDEP}]')
${PYTHON_DEPS}
"
+
+python_check_deps() {
+ has_version "dev-python/ament_package[${PYTHON_USEDEP}]" && \
+ has_version "dev-python/catkin_pkg[${PYTHON_USEDEP}]"
+}
diff --git a/dev-ros/ament_cmake_gtest/ament_cmake_gtest-9999.ebuild b/dev-ros/ament_cmake_gtest/ament_cmake_gtest-9999.ebuild
index 0987702da776..55a2af945684 100644
--- a/dev-ros/ament_cmake_gtest/ament_cmake_gtest-9999.ebuild
+++ b/dev-ros/ament_cmake_gtest/ament_cmake_gtest-9999.ebuild
@@ -39,3 +39,8 @@ BDEPEND="
$(python_gen_any_dep 'dev-python/ament_package[${PYTHON_USEDEP}] dev-python/catkin_pkg[${PYTHON_USEDEP}]')
${PYTHON_DEPS}
"
+
+python_check_deps() {
+ has_version "dev-python/ament_package[${PYTHON_USEDEP}]" && \
+ has_version "dev-python/catkin_pkg[${PYTHON_USEDEP}]"
+}