commit: fa07e24cb7d6e1405f7b440c3c662bbca40770c5 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> AuthorDate: Wed Aug 12 13:33:59 2020 +0000 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> CommitDate: Wed Aug 12 13:36:17 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa07e24c
dev-ros/ament_cmake_cpplint: fix python_check_deps Closes: https://bugs.gentoo.org/736768 Package-Manager: Portage-3.0.2, Repoman-2.3.23 Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org> dev-ros/ament_cmake_cpplint/ament_cmake_cpplint-0.9.5.ebuild | 6 +++--- dev-ros/ament_cmake_cpplint/ament_cmake_cpplint-9999.ebuild | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dev-ros/ament_cmake_cpplint/ament_cmake_cpplint-0.9.5.ebuild b/dev-ros/ament_cmake_cpplint/ament_cmake_cpplint-0.9.5.ebuild index a5371ca7af2..f60a48951cc 100644 --- a/dev-ros/ament_cmake_cpplint/ament_cmake_cpplint-0.9.5.ebuild +++ b/dev-ros/ament_cmake_cpplint/ament_cmake_cpplint-0.9.5.ebuild @@ -49,9 +49,9 @@ BDEPEND=" " python_check_deps() { - has_version "dev-ros/ament_copyright[${PYTHON_USEDEP}]" && \ - has_version "dev-python/catkin_pkg[${PYTHON_USEDEP}]" && \ - has_version "dev-python/ament_package[${PYTHON_USEDEP}]" + { 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}]" } 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 a5371ca7af2..f60a48951cc 100644 --- a/dev-ros/ament_cmake_cpplint/ament_cmake_cpplint-9999.ebuild +++ b/dev-ros/ament_cmake_cpplint/ament_cmake_cpplint-9999.ebuild @@ -49,9 +49,9 @@ BDEPEND=" " python_check_deps() { - has_version "dev-ros/ament_copyright[${PYTHON_USEDEP}]" && \ - has_version "dev-python/catkin_pkg[${PYTHON_USEDEP}]" && \ - has_version "dev-python/ament_package[${PYTHON_USEDEP}]" + { 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}]" } src_configure() {
