dev-ros/ament_cmake_libraries: Declare python_check_deps().
authorAlexis Ballier <aballier@gentoo.org>
Mon, 16 Dec 2019 11:32:57 +0000 (12:32 +0100)
committerAlexis Ballier <aballier@gentoo.org>
Mon, 16 Dec 2019 13:49:43 +0000 (14:49 +0100)
Closes: https://bugs.gentoo.org/702722
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
dev-ros/ament_cmake_libraries/ament_cmake_libraries-0.8.1.ebuild
dev-ros/ament_cmake_libraries/ament_cmake_libraries-9999.ebuild

index b38982c35672fc3637c5d6d40151d23a47e59910..9e26d92976cdfb5606a3992371e3c02797c6e4c0 100644 (file)
@@ -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}]"
+}
index b38982c35672fc3637c5d6d40151d23a47e59910..9e26d92976cdfb5606a3992371e3c02797c6e4c0 100644 (file)
@@ -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}]"
+}