diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2022-10-04 09:11:33 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-10-04 09:11:40 +0300 |
commit | 650ebef5e7861d5bfe741ca96530a3e1e3a4f7be (patch) | |
tree | 32ed37acf2c29563beb128c0f133b2c80cff961b /dev-ros/ament_cmake_copyright | |
parent | net-misc/yt-dlp: add 2022.10.4 (diff) | |
download | gentoo-650ebef5e7861d5bfe741ca96530a3e1e3a4f7be.tar.gz gentoo-650ebef5e7861d5bfe741ca96530a3e1e3a4f7be.tar.bz2 gentoo-650ebef5e7861d5bfe741ca96530a3e1e3a4f7be.zip |
dev-ros/ament_cmake_copyright: use python_has_version inside python_check_deps
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-ros/ament_cmake_copyright')
3 files changed, 14 insertions, 14 deletions
diff --git a/dev-ros/ament_cmake_copyright/ament_cmake_copyright-0.11.2.ebuild b/dev-ros/ament_cmake_copyright/ament_cmake_copyright-0.11.2.ebuild index a5d7095d6b60..5366e55b2827 100644 --- a/dev-ros/ament_cmake_copyright/ament_cmake_copyright-0.11.2.ebuild +++ b/dev-ros/ament_cmake_copyright/ament_cmake_copyright-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 @@ -47,10 +47,10 @@ BDEPEND=" " python_check_deps() { - has_version "dev-python/ament_package[${PYTHON_USEDEP}]" && \ - has_version "dev-python/catkin_pkg[${PYTHON_USEDEP}]" && \ - has_version "dev-ros/ament_copyright[${PYTHON_USEDEP}]" && \ - ( use !test || has_version "dev-ros/ament_lint_cmake[${PYTHON_USEDEP}]" ) + python_has_version "dev-python/ament_package[${PYTHON_USEDEP}]" \ + "dev-python/catkin_pkg[${PYTHON_USEDEP}]" \ + "dev-ros/ament_copyright[${PYTHON_USEDEP}]" && \ + ( use !test || python_has_version "dev-ros/ament_lint_cmake[${PYTHON_USEDEP}]" ) } src_configure() { diff --git a/dev-ros/ament_cmake_copyright/ament_cmake_copyright-0.12.1.ebuild b/dev-ros/ament_cmake_copyright/ament_cmake_copyright-0.12.1.ebuild index dd36342b121c..5366e55b2827 100644 --- a/dev-ros/ament_cmake_copyright/ament_cmake_copyright-0.12.1.ebuild +++ b/dev-ros/ament_cmake_copyright/ament_cmake_copyright-0.12.1.ebuild @@ -47,10 +47,10 @@ BDEPEND=" " python_check_deps() { - has_version "dev-python/ament_package[${PYTHON_USEDEP}]" && \ - has_version "dev-python/catkin_pkg[${PYTHON_USEDEP}]" && \ - has_version "dev-ros/ament_copyright[${PYTHON_USEDEP}]" && \ - ( use !test || has_version "dev-ros/ament_lint_cmake[${PYTHON_USEDEP}]" ) + python_has_version "dev-python/ament_package[${PYTHON_USEDEP}]" \ + "dev-python/catkin_pkg[${PYTHON_USEDEP}]" \ + "dev-ros/ament_copyright[${PYTHON_USEDEP}]" && \ + ( use !test || python_has_version "dev-ros/ament_lint_cmake[${PYTHON_USEDEP}]" ) } src_configure() { diff --git a/dev-ros/ament_cmake_copyright/ament_cmake_copyright-9999.ebuild b/dev-ros/ament_cmake_copyright/ament_cmake_copyright-9999.ebuild index a5d7095d6b60..5366e55b2827 100644 --- a/dev-ros/ament_cmake_copyright/ament_cmake_copyright-9999.ebuild +++ b/dev-ros/ament_cmake_copyright/ament_cmake_copyright-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 @@ -47,10 +47,10 @@ BDEPEND=" " python_check_deps() { - has_version "dev-python/ament_package[${PYTHON_USEDEP}]" && \ - has_version "dev-python/catkin_pkg[${PYTHON_USEDEP}]" && \ - has_version "dev-ros/ament_copyright[${PYTHON_USEDEP}]" && \ - ( use !test || has_version "dev-ros/ament_lint_cmake[${PYTHON_USEDEP}]" ) + python_has_version "dev-python/ament_package[${PYTHON_USEDEP}]" \ + "dev-python/catkin_pkg[${PYTHON_USEDEP}]" \ + "dev-ros/ament_copyright[${PYTHON_USEDEP}]" && \ + ( use !test || python_has_version "dev-ros/ament_lint_cmake[${PYTHON_USEDEP}]" ) } src_configure() { |