diff options
author | Alexis Ballier <aballier@gentoo.org> | 2020-08-12 15:33:59 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2020-08-12 15:36:17 +0200 |
commit | fa07e24cb7d6e1405f7b440c3c662bbca40770c5 (patch) | |
tree | c6e10a5822dea0deaeff4978baa5518b07fff02e | |
parent | profiles: stable.use.mask lxd[apparmor] on amd64 profile (diff) | |
download | gentoo-fa07e24cb7d6e1405f7b440c3c662bbca40770c5.tar.gz gentoo-fa07e24cb7d6e1405f7b440c3c662bbca40770c5.tar.bz2 gentoo-fa07e24cb7d6e1405f7b440c3c662bbca40770c5.zip |
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@gentoo.org>
-rw-r--r-- | dev-ros/ament_cmake_cpplint/ament_cmake_cpplint-0.9.5.ebuild | 6 | ||||
-rw-r--r-- | 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 a5371ca7af21..f60a48951cc2 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 a5371ca7af21..f60a48951cc2 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() { |