dev-ros/ament_cmake_ros: use python_has_version inside python_check_deps

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin
2022-10-04 22:28:24 +03:00
parent 67462f81ca
commit 554f2e44a7
2 changed files with 3 additions and 3 deletions

View File

@@ -35,7 +35,7 @@ BDEPEND="
"
python_check_deps() {
has_version "ros-meta/ament_cmake[${PYTHON_USEDEP}]"
python_has_version "ros-meta/ament_cmake[${PYTHON_USEDEP}]"
}
src_configure() {

View File

@@ -1,4 +1,4 @@
# Copyright 2019-2021 Gentoo Authors
# Copyright 2019-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -35,7 +35,7 @@ BDEPEND="
"
python_check_deps() {
has_version "ros-meta/ament_cmake[${PYTHON_USEDEP}]"
python_has_version "ros-meta/ament_cmake[${PYTHON_USEDEP}]"
}
src_configure() {