diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2022-10-04 09:24:09 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-10-04 09:24:09 +0300 |
commit | de997f3ca0d8a927923b859be5e0da33098ff3c3 (patch) | |
tree | c90f94c384b367d3e0dca9dc6cfd4a1eba137c65 /dev-ros | |
parent | dev-ros/ament_cmake_cppcheck: use python_has_version inside python_check_deps (diff) | |
download | gentoo-de997f3ca0d8a927923b859be5e0da33098ff3c3.tar.gz gentoo-de997f3ca0d8a927923b859be5e0da33098ff3c3.tar.bz2 gentoo-de997f3ca0d8a927923b859be5e0da33098ff3c3.zip |
dev-ros/ament_cmake_cpplint: use python_has_version inside python_check_deps
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-ros')
3 files changed, 11 insertions, 11 deletions
diff --git a/dev-ros/ament_cmake_cpplint/ament_cmake_cpplint-0.11.2.ebuild b/dev-ros/ament_cmake_cpplint/ament_cmake_cpplint-0.11.2.ebuild index 8fd9b0edd57b..8697fbb57423 100644 --- a/dev-ros/ament_cmake_cpplint/ament_cmake_cpplint-0.11.2.ebuild +++ b/dev-ros/ament_cmake_cpplint/ament_cmake_cpplint-0.11.2.ebuild @@ -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 @@ -45,9 +45,9 @@ BDEPEND=" " python_check_deps() { - { use !test || has_version -b "dev-ros/ament_copyright[${PYTHON_USEDEP}]"; } && \ - has_version -b "dev-python/catkin_pkg[${PYTHON_USEDEP}]" && \ - has_version -b "dev-python/ament_package[${PYTHON_USEDEP}]" + { use !test || python_has_version "dev-ros/ament_copyright[${PYTHON_USEDEP}]"; } && \ + python_has_version "dev-python/catkin_pkg[${PYTHON_USEDEP}]" \ + "dev-python/ament_package[${PYTHON_USEDEP}]" } src_configure() { diff --git a/dev-ros/ament_cmake_cpplint/ament_cmake_cpplint-0.12.1.ebuild b/dev-ros/ament_cmake_cpplint/ament_cmake_cpplint-0.12.1.ebuild index 7052cdbb4a60..8697fbb57423 100644 --- a/dev-ros/ament_cmake_cpplint/ament_cmake_cpplint-0.12.1.ebuild +++ b/dev-ros/ament_cmake_cpplint/ament_cmake_cpplint-0.12.1.ebuild @@ -45,9 +45,9 @@ BDEPEND=" " python_check_deps() { - { use !test || has_version -b "dev-ros/ament_copyright[${PYTHON_USEDEP}]"; } && \ - has_version -b "dev-python/catkin_pkg[${PYTHON_USEDEP}]" && \ - has_version -b "dev-python/ament_package[${PYTHON_USEDEP}]" + { use !test || python_has_version "dev-ros/ament_copyright[${PYTHON_USEDEP}]"; } && \ + python_has_version "dev-python/catkin_pkg[${PYTHON_USEDEP}]" \ + "dev-python/ament_package[${PYTHON_USEDEP}]" } src_configure() { diff --git a/dev-ros/ament_cmake_cpplint/ament_cmake_cpplint-9999.ebuild b/dev-ros/ament_cmake_cpplint/ament_cmake_cpplint-9999.ebuild index 8fd9b0edd57b..8697fbb57423 100644 --- a/dev-ros/ament_cmake_cpplint/ament_cmake_cpplint-9999.ebuild +++ b/dev-ros/ament_cmake_cpplint/ament_cmake_cpplint-9999.ebuild @@ -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 @@ -45,9 +45,9 @@ BDEPEND=" " python_check_deps() { - { use !test || has_version -b "dev-ros/ament_copyright[${PYTHON_USEDEP}]"; } && \ - has_version -b "dev-python/catkin_pkg[${PYTHON_USEDEP}]" && \ - has_version -b "dev-python/ament_package[${PYTHON_USEDEP}]" + { use !test || python_has_version "dev-ros/ament_copyright[${PYTHON_USEDEP}]"; } && \ + python_has_version "dev-python/catkin_pkg[${PYTHON_USEDEP}]" \ + "dev-python/ament_package[${PYTHON_USEDEP}]" } src_configure() { |