diff options
author | Alexis Ballier <aballier@gentoo.org> | 2019-12-16 12:34:18 +0100 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2019-12-16 14:49:43 +0100 |
commit | 51a67741d21e02d9e259ea7801fad080ae146adf (patch) | |
tree | 3311dc1da25107467ff2f24ed252749a76bbb707 /dev-ros | |
parent | dev-ros/ament_cmake_libraries: Declare python_check_deps(). (diff) | |
download | gentoo-51a67741d21e02d9e259ea7801fad080ae146adf.tar.gz gentoo-51a67741d21e02d9e259ea7801fad080ae146adf.tar.bz2 gentoo-51a67741d21e02d9e259ea7801fad080ae146adf.zip |
dev-ros/ament_cmake_gtest: Declare python_check_deps().
Closes: https://bugs.gentoo.org/702726
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ros')
-rw-r--r-- | dev-ros/ament_cmake_gtest/ament_cmake_gtest-0.8.1.ebuild | 5 | ||||
-rw-r--r-- | dev-ros/ament_cmake_gtest/ament_cmake_gtest-9999.ebuild | 5 |
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}]" +} |