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>
This commit is contained in:
Alexis Ballier
2020-08-12 15:36:11 +02:00
parent 83844c3d06
commit 40743d92c2
2 changed files with 6 additions and 6 deletions

View File

@@ -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() {

View File

@@ -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() {