public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/tatt:master commit in: templates/
Date: Thu,  4 Mar 2021 00:21:16 +0000 (UTC)	[thread overview]
Message-ID: <1614817244.96a87558e37bc639a90ad17d4ffe07fc4bb2f30f.sam@gentoo> (raw)

commit:     96a87558e37bc639a90ad17d4ffe07fc4bb2f30f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Mar  4 00:20:44 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar  4 00:20:44 2021 +0000
URL:        https://gitweb.gentoo.org/proj/tatt.git/commit/?id=96a87558

templates/tatt_functions.sh: pass package name (not atom) to --usepkg-exclude

Fixes: eafc7c666d773cfd3b8295474a24cb6eef0919ce
Fixes: https://github.com/gentoo/tatt/issues/72
Signed-off-by: Sam James <sam <AT> gentoo.org>

 templates/tatt_functions.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/templates/tatt_functions.sh b/templates/tatt_functions.sh
index 2893dc0..78b65ee 100644
--- a/templates/tatt_functions.sh
+++ b/templates/tatt_functions.sh
@@ -55,7 +55,9 @@ function tatt_test_pkg
     TFEATURES="${FEATURES}"
   fi
 
-  eout=$( FEATURES="${TFEATURES}" emerge -1 --getbinpkg=n --usepkg-exclude="${1:?}" ${TATT_EMERGEOPTS} "${1:?}" 2>&1 1>/dev/tty )
+  local name=$(portageq pquery "${1:?}" -n)
+
+  eout=$( FEATURES="${TFEATURES}" emerge -1 --getbinpkg=n --usepkg-exclude="${name}" ${TATT_EMERGEOPTS} "${1:?}" 2>&1 1>/dev/tty )
   if [[ $? == 0 ]] ; then
     if [ -n "${TFEATURES}" ]; then
       echo -n "FEATURES='${TFEATURES}' " >> "${TATT_REPORTFILE}"


             reply	other threads:[~2021-03-04  0:21 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-04  0:21 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-04-25  3:46 [gentoo-commits] proj/tatt:master commit in: templates/ Sam James
2023-04-25  3:46 Sam James
2021-10-31 22:11 Sam James
2021-07-04 15:43 Rolf Eike Beer
2021-06-29 16:23 Rolf Eike Beer
2021-06-17 22:04 Sam James
2021-05-19 16:31 Rolf Eike Beer
2021-03-04  0:26 Sam James
2021-02-17  3:09 Sam James
2020-01-02 21:00 Rolf Eike Beer

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=1614817244.96a87558e37bc639a90ad17d4ffe07fc4bb2f30f.sam@gentoo \
    --to=sam@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