diff options
author | Alexis Ballier <aballier@gentoo.org> | 2019-12-16 12:32:57 +0100 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2019-12-16 14:49:43 +0100 |
commit | b443c236413b9e2465484212f08a54663143a814 (patch) | |
tree | 78f79c218d3efb211ccb58b2a704ccd932b972db | |
parent | dev-ros/ament_cmake_export_libraries: Declare python_check_deps(). (diff) | |
download | gentoo-b443c236413b9e2465484212f08a54663143a814.tar.gz gentoo-b443c236413b9e2465484212f08a54663143a814.tar.bz2 gentoo-b443c236413b9e2465484212f08a54663143a814.zip |
dev-ros/ament_cmake_libraries: Declare python_check_deps().
Closes: https://bugs.gentoo.org/702722
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
-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}]" +} |