From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/tatt:master commit in: templates/
Date: Thu, 17 Jun 2021 22:04:50 +0000 (UTC) [thread overview]
Message-ID: <1623967440.b9b22135a5095cbcc4c26dc9573a0e677f2637f5.sam@gentoo> (raw)
commit: b9b22135a5095cbcc4c26dc9573a0e677f2637f5
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 17 22:04:00 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun 17 22:04:00 2021 +0000
URL: https://gitweb.gentoo.org/proj/tatt.git/commit/?id=b9b22135
tatt_functions.sh: avoid circular dependencies with USE="minimal -doc"
Emerge test dependencies with USE="minimal -doc" first. This should avoid circular
dependencies at least with a lot of dev-perl/* packages.
Signed-off-by: Sam James <sam <AT> gentoo.org>
templates/tatt_functions.sh | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/templates/tatt_functions.sh b/templates/tatt_functions.sh
index 0e95e9a..bd21e46 100644
--- a/templates/tatt_functions.sh
+++ b/templates/tatt_functions.sh
@@ -46,6 +46,11 @@ function tatt_test_pkg
{
if [ "${1:?}" == "--test" ]; then
shift
+
+ # Do a first pass to avoid circular dependencies
+ # --onlydeps should mean we're avoiding (too much) duplicate work
+ USE="minimal -doc" emerge --onlydeps -q1 --with-test-deps ${TATT_EMERGEOPTS} "${1:?}"
+
if ! emerge --onlydeps -q1 --with-test-deps ${TATT_EMERGEOPTS} "${1:?}"; then
echo "merging test dependencies of ${1} failed" >> "${TATT_REPORTFILE}"
return 1
next reply other threads:[~2021-06-17 22:04 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-17 22:04 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-05-19 16:31 Rolf Eike Beer
2021-03-04 0:26 Sam James
2021-03-04 0:21 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=1623967440.b9b22135a5095cbcc4c26dc9573a0e677f2637f5.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