Skip to content

Commit

Permalink
dev-ros/ament_cmake_cpplint: fix python_check_deps
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/736768
Package-Manager: Portage-3.0.2, Repoman-2.3.23
Signed-off-by: Alexis Ballier <[email protected]>
  • Loading branch information
aballier committed Aug 12, 2020
1 parent 86115d8 commit fa07e24
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions dev-ros/ament_cmake_cpplint/ament_cmake_cpplint-0.9.5.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
6 changes: 3 additions & 3 deletions dev-ros/ament_cmake_cpplint/ament_cmake_cpplint-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit fa07e24

Please sign in to comment.