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-libs/console_bridge/
Date: Mon, 27 Jul 2020 16:01:44 +0000 (UTC)	[thread overview]
Message-ID: <1595865698.b08201ccc3b07d6d44391da5a5476977c5ab1c11.aballier@gentoo> (raw)

commit:     b08201ccc3b07d6d44391da5a5476977c5ab1c11
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 27 16:00:14 2020 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Mon Jul 27 16:01:38 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b08201cc

dev-libs/console_bridge: fix USE=-test

Closes: https://bugs.gentoo.org/734110
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org>

 dev-libs/console_bridge/console_bridge-1.0.1.ebuild | 6 ++++--
 dev-libs/console_bridge/console_bridge-9999.ebuild  | 6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/dev-libs/console_bridge/console_bridge-1.0.1.ebuild b/dev-libs/console_bridge/console_bridge-1.0.1.ebuild
index 193f365e594..44f13c59150 100644
--- a/dev-libs/console_bridge/console_bridge-1.0.1.ebuild
+++ b/dev-libs/console_bridge/console_bridge-1.0.1.ebuild
@@ -53,8 +53,10 @@ src_configure() {
 	cmake_src_configure
 
 	# For tests
-	cp "${DISTDIR}/${P}-ament-${AMENT_LINT_VER}-cppcheck.py" "${BUILD_DIR}/test/cppcheck.py" || die
-	cp "${DISTDIR}/${P}-ament-${AMENT_LINT_VER}-cpplint.py" "${BUILD_DIR}/test/cpplint.py" || die
+	if use test ; then
+		cp "${DISTDIR}/${P}-ament-${AMENT_LINT_VER}-cppcheck.py" "${BUILD_DIR}/test/cppcheck.py" || die
+		cp "${DISTDIR}/${P}-ament-${AMENT_LINT_VER}-cpplint.py" "${BUILD_DIR}/test/cpplint.py" || die
+	fi
 }
 
 src_test() {

diff --git a/dev-libs/console_bridge/console_bridge-9999.ebuild b/dev-libs/console_bridge/console_bridge-9999.ebuild
index 193f365e594..44f13c59150 100644
--- a/dev-libs/console_bridge/console_bridge-9999.ebuild
+++ b/dev-libs/console_bridge/console_bridge-9999.ebuild
@@ -53,8 +53,10 @@ src_configure() {
 	cmake_src_configure
 
 	# For tests
-	cp "${DISTDIR}/${P}-ament-${AMENT_LINT_VER}-cppcheck.py" "${BUILD_DIR}/test/cppcheck.py" || die
-	cp "${DISTDIR}/${P}-ament-${AMENT_LINT_VER}-cpplint.py" "${BUILD_DIR}/test/cpplint.py" || die
+	if use test ; then
+		cp "${DISTDIR}/${P}-ament-${AMENT_LINT_VER}-cppcheck.py" "${BUILD_DIR}/test/cppcheck.py" || die
+		cp "${DISTDIR}/${P}-ament-${AMENT_LINT_VER}-cpplint.py" "${BUILD_DIR}/test/cpplint.py" || die
+	fi
 }
 
 src_test() {


             reply	other threads:[~2020-07-27 16:01 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-27 16:01 Alexis Ballier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-03-15 13:27 [gentoo-commits] repo/gentoo:master commit in: dev-libs/console_bridge/ Alexis Ballier
2020-08-17 12:53 Sam James
2020-07-27 16:01 Alexis Ballier
2020-07-27 13:19 Alexis Ballier
2020-07-23 15:19 Alexis Ballier
2020-07-23 15:19 Alexis Ballier
2020-07-23 15:19 Alexis Ballier
2019-12-11 15:26 Alexis Ballier
2019-12-11 15:26 Alexis Ballier
2019-01-15 10:46 Alexis Ballier
2019-01-08  8:54 Alexis Ballier
2018-07-17  7:08 Alexis Ballier
2017-05-06 22:20 David Seifert
2016-02-09  8:45 Alexis Ballier
2016-01-29 11:10 Alexis Ballier
2016-01-29 11:10 Alexis Ballier
2016-01-19 12:56 Alexis Ballier
2016-01-19 12:56 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=1595865698.b08201ccc3b07d6d44391da5a5476977c5ab1c11.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