mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-ros/ament_cmake_uncrustify: use python_has_version inside python_check_deps
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 2019-2021 Gentoo Authors
|
||||
# Copyright 2019-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
@@ -45,9 +45,9 @@ BDEPEND="
|
||||
"
|
||||
|
||||
python_check_deps() {
|
||||
{ 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}]"
|
||||
{ use !test || python_has_version "dev-ros/ament_copyright[${PYTHON_USEDEP}]"; } && \
|
||||
python_has_version "dev-python/catkin_pkg[${PYTHON_USEDEP}]" \
|
||||
"dev-python/ament_package[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
|
||||
@@ -45,9 +45,9 @@ BDEPEND="
|
||||
"
|
||||
|
||||
python_check_deps() {
|
||||
{ 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}]"
|
||||
{ use !test || python_has_version "dev-ros/ament_copyright[${PYTHON_USEDEP}]"; } && \
|
||||
python_has_version "dev-python/catkin_pkg[${PYTHON_USEDEP}]" \
|
||||
"dev-python/ament_package[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2019-2021 Gentoo Authors
|
||||
# Copyright 2019-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
@@ -45,9 +45,9 @@ BDEPEND="
|
||||
"
|
||||
|
||||
python_check_deps() {
|
||||
{ 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}]"
|
||||
{ use !test || python_has_version "dev-ros/ament_copyright[${PYTHON_USEDEP}]"; } && \
|
||||
python_has_version "dev-python/catkin_pkg[${PYTHON_USEDEP}]" \
|
||||
"dev-python/ament_package[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
|
||||
Reference in New Issue
Block a user