public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alexis Ballier" <aballier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ros/ament_cmake_uncrustify/
Date: Wed, 12 Aug 2020 13:39:10 +0000 (UTC)	[thread overview]
Message-ID: <1597239378.40743d92c2c07edc2f4482de4f8e1bb0d343f2d2.aballier@gentoo> (raw)

commit:     40743d92c2c07edc2f4482de4f8e1bb0d343f2d2
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 12 13:36:11 2020 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Wed Aug 12 13:36:18 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40743d92

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 <AT> gentoo.org>

 dev-ros/ament_cmake_uncrustify/ament_cmake_uncrustify-0.9.5.ebuild | 6 +++---
 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 4bbaef9545c..347b57dc9dc 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 4bbaef9545c..347b57dc9dc 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() {


             reply	other threads:[~2020-08-12 13:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-12 13:39 Alexis Ballier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-10-04 19:36 [gentoo-commits] repo/gentoo:master commit in: dev-ros/ament_cmake_uncrustify/ Arthur Zamarin
2022-03-15 17:05 Alexis Ballier
2021-09-24 10:33 Arthur Zamarin
2021-08-05 11:32 Alexis Ballier
2021-05-19 10:54 Alexis Ballier
2021-04-06  9:31 Alexis Ballier
2021-01-26 15:56 Alexis Ballier
2020-09-30 11:09 Alexis Ballier
2020-08-11 15:46 Alexis Ballier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1597239378.40743d92c2c07edc2f4482de4f8e1bb0d343f2d2.aballier@gentoo \
    --to=aballier@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox