diff options
author | Alexis Ballier <aballier@gentoo.org> | 2020-08-12 15:36:11 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2020-08-12 15:36:18 +0200 |
commit | 40743d92c2c07edc2f4482de4f8e1bb0d343f2d2 (patch) | |
tree | 152473346aa2a64b29d0eb8b7bdbb4f28bcdd31e /dev-ros | |
parent | dev-ros/ament_cmake_cppcheck: fix python check deps (diff) | |
download | gentoo-40743d92c2c07edc2f4482de4f8e1bb0d343f2d2.tar.gz gentoo-40743d92c2c07edc2f4482de4f8e1bb0d343f2d2.tar.bz2 gentoo-40743d92c2c07edc2f4482de4f8e1bb0d343f2d2.zip |
dev-ros/ament_cmake_uncrustify: fix python check deps
Closes: https://bugs.gentoo.org/736790
Package-Manager: Portage-3.0.2, Repoman-2.3.23
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ros')
-rw-r--r-- | dev-ros/ament_cmake_uncrustify/ament_cmake_uncrustify-0.9.5.ebuild | 6 | ||||
-rw-r--r-- | dev-ros/ament_cmake_uncrustify/ament_cmake_uncrustify-9999.ebuild | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/dev-ros/ament_cmake_uncrustify/ament_cmake_uncrustify-0.9.5.ebuild b/dev-ros/ament_cmake_uncrustify/ament_cmake_uncrustify-0.9.5.ebuild index 4bbaef9545c0..347b57dc9dc5 100644 --- a/dev-ros/ament_cmake_uncrustify/ament_cmake_uncrustify-0.9.5.ebuild +++ b/dev-ros/ament_cmake_uncrustify/ament_cmake_uncrustify-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_uncrustify/ament_cmake_uncrustify-9999.ebuild b/dev-ros/ament_cmake_uncrustify/ament_cmake_uncrustify-9999.ebuild index 4bbaef9545c0..347b57dc9dc5 100644 --- a/dev-ros/ament_cmake_uncrustify/ament_cmake_uncrustify-9999.ebuild +++ b/dev-ros/ament_cmake_uncrustify/ament_cmake_uncrustify-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() { |