diff options
author | Alexis Ballier <aballier@gentoo.org> | 2020-08-12 15:35:11 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2020-08-12 15:36:18 +0200 |
commit | 83844c3d06d6077b40dcae4e1a6336a51da101ff (patch) | |
tree | 36bf7ddc9bf7719c55163ce1b5fa2f2ab72a486a /dev-ros/ament_cmake_cppcheck | |
parent | dev-ros/ament_cmake_cpplint: fix python_check_deps (diff) | |
download | gentoo-83844c3d06d6077b40dcae4e1a6336a51da101ff.tar.gz gentoo-83844c3d06d6077b40dcae4e1a6336a51da101ff.tar.bz2 gentoo-83844c3d06d6077b40dcae4e1a6336a51da101ff.zip |
dev-ros/ament_cmake_cppcheck: fix python check deps
Closes: https://bugs.gentoo.org/736786
Package-Manager: Portage-3.0.2, Repoman-2.3.23
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ros/ament_cmake_cppcheck')
-rw-r--r-- | dev-ros/ament_cmake_cppcheck/ament_cmake_cppcheck-0.9.5.ebuild | 6 | ||||
-rw-r--r-- | dev-ros/ament_cmake_cppcheck/ament_cmake_cppcheck-9999.ebuild | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/dev-ros/ament_cmake_cppcheck/ament_cmake_cppcheck-0.9.5.ebuild b/dev-ros/ament_cmake_cppcheck/ament_cmake_cppcheck-0.9.5.ebuild index 5fecf907bdd6..9318e3a9e9c2 100644 --- a/dev-ros/ament_cmake_cppcheck/ament_cmake_cppcheck-0.9.5.ebuild +++ b/dev-ros/ament_cmake_cppcheck/ament_cmake_cppcheck-0.9.5.ebuild @@ -50,9 +50,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_cppcheck/ament_cmake_cppcheck-9999.ebuild b/dev-ros/ament_cmake_cppcheck/ament_cmake_cppcheck-9999.ebuild index 5fecf907bdd6..9318e3a9e9c2 100644 --- a/dev-ros/ament_cmake_cppcheck/ament_cmake_cppcheck-9999.ebuild +++ b/dev-ros/ament_cmake_cppcheck/ament_cmake_cppcheck-9999.ebuild @@ -50,9 +50,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() { |