diff options
-rw-r--r-- | dev-ros/ament_cmake_libraries/ament_cmake_libraries-0.8.1.ebuild | 5 | ||||
-rw-r--r-- | dev-ros/ament_cmake_libraries/ament_cmake_libraries-9999.ebuild | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/dev-ros/ament_cmake_libraries/ament_cmake_libraries-0.8.1.ebuild b/dev-ros/ament_cmake_libraries/ament_cmake_libraries-0.8.1.ebuild index b38982c35672..9e26d92976cd 100644 --- a/dev-ros/ament_cmake_libraries/ament_cmake_libraries-0.8.1.ebuild +++ b/dev-ros/ament_cmake_libraries/ament_cmake_libraries-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_libraries/ament_cmake_libraries-9999.ebuild b/dev-ros/ament_cmake_libraries/ament_cmake_libraries-9999.ebuild index b38982c35672..9e26d92976cd 100644 --- a/dev-ros/ament_cmake_libraries/ament_cmake_libraries-9999.ebuild +++ b/dev-ros/ament_cmake_libraries/ament_cmake_libraries-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}]" +} |