summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2022-10-04 09:22:52 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2022-10-04 09:22:52 +0300
commit1020d9020140b808c3684f27906d7577b66ebb62 (patch)
treedfe8a0f342110cf4274f12b034e1b9e00119f927 /dev-ros
parentsys-apps/portage: Stabilize 3.0.38.1 ppc, #874786 (diff)
downloadgentoo-1020d9020140b808c3684f27906d7577b66ebb62.tar.gz
gentoo-1020d9020140b808c3684f27906d7577b66ebb62.tar.bz2
gentoo-1020d9020140b808c3684f27906d7577b66ebb62.zip
dev-ros/ament_cmake_cppcheck: use python_has_version inside python_check_deps
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-ros')
-rw-r--r--dev-ros/ament_cmake_cppcheck/ament_cmake_cppcheck-0.11.2.ebuild8
-rw-r--r--dev-ros/ament_cmake_cppcheck/ament_cmake_cppcheck-0.12.1.ebuild6
-rw-r--r--dev-ros/ament_cmake_cppcheck/ament_cmake_cppcheck-9999.ebuild8
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() {