commit: 1020d9020140b808c3684f27906d7577b66ebb62
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 4 06:22:52 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Oct 4 06:22:52 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1020d902
dev-ros/ament_cmake_cppcheck: use python_has_version inside python_check_deps
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-ros/ament_cmake_cppcheck/ament_cmake_cppcheck-0.11.2.ebuild | 8 ++++----
dev-ros/ament_cmake_cppcheck/ament_cmake_cppcheck-0.12.1.ebuild | 6 +++---
dev-ros/ament_cmake_cppcheck/ament_cmake_cppcheck-9999.ebuild | 8 ++++----
3 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/dev-ros/ament_cmake_cppcheck/ament_cmake_cppcheck-0.11.2.ebuild
b/dev-ros/ament_cmake_cppcheck/ament_cmake_cppcheck-0.11.2.ebuild
index 7c749cbd249f..760fd56cb6c8 100644
--- a/dev-ros/ament_cmake_cppcheck/ament_cmake_cppcheck-0.11.2.ebuild
+++ b/dev-ros/ament_cmake_cppcheck/ament_cmake_cppcheck-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
@@ -46,9 +46,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_cppcheck/ament_cmake_cppcheck-0.12.1.ebuild
b/dev-ros/ament_cmake_cppcheck/ament_cmake_cppcheck-0.12.1.ebuild
index db187d2408e7..760fd56cb6c8 100644
--- a/dev-ros/ament_cmake_cppcheck/ament_cmake_cppcheck-0.12.1.ebuild
+++ b/dev-ros/ament_cmake_cppcheck/ament_cmake_cppcheck-0.12.1.ebuild
@@ -46,9 +46,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_cppcheck/ament_cmake_cppcheck-9999.ebuild
b/dev-ros/ament_cmake_cppcheck/ament_cmake_cppcheck-9999.ebuild
index 7c749cbd249f..760fd56cb6c8 100644
--- a/dev-ros/ament_cmake_cppcheck/ament_cmake_cppcheck-9999.ebuild
+++ b/dev-ros/ament_cmake_cppcheck/ament_cmake_cppcheck-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
@@ -46,9 +46,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() {