From: Thomas Bracht Laumann Jespersen <t@laumann.xyz>
To: gentoo-portage-dev@lists.gentoo.org
Cc: Thomas Bracht Laumann Jespersen <t@laumann.xyz>
Subject: [gentoo-portage-dev] [PATCH] EbuildPhase: print SLOT along other build metadata
Date: Mon, 8 Aug 2022 13:49:53 +0200 [thread overview]
Message-ID: <20220808114953.8009-1-t@laumann.xyz> (raw)
Requested as a useful part in the output from tinderbox runs.
Closes: https://bugs.gentoo.org/864382
Signed-off-by: Thomas Bracht Laumann Jespersen <t@laumann.xyz>
---
Quick tests with a random non-SLOT=0 package produces this now:
* Package: dev-libs/libdaemon-0.14-r3
* Slot: 0/5
* Repository: gentoo
* USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
* FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking libdaemon-0.14.tar.gz to /var/tmp/portage/dev-libs/libdaemon-0.14-r3/work
>>> Source unpacked in /var/tmp/portage/dev-libs/libdaemon-0.14-r3/work
I hope I haven't overlooked anything.
lib/_emerge/EbuildPhase.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/_emerge/EbuildPhase.py b/lib/_emerge/EbuildPhase.py
index 9a04f9c1f..6dce4aedb 100644
--- a/lib/_emerge/EbuildPhase.py
+++ b/lib/_emerge/EbuildPhase.py
@@ -136,6 +136,7 @@ class EbuildPhase(CompositeTask):
msg = []
msg.append("Package: %s" % self.settings.mycpv)
+ msg.append("Slot: %s" % self.settings["SLOT"])
if self.settings.get("PORTAGE_REPO_NAME"):
msg.append("Repository: %s" % self.settings["PORTAGE_REPO_NAME"])
if maint_str:
--
2.37.1
next reply other threads:[~2022-08-08 11:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-08 11:49 Thomas Bracht Laumann Jespersen [this message]
2022-08-08 12:09 ` [gentoo-portage-dev] [PATCH] EbuildPhase: print SLOT along other build metadata Thomas Bracht Laumann Jespersen
2022-08-08 12:38 ` [gentoo-portage-dev] [PATCH v3] EbuildPhase: add SLOT to package version line Thomas Bracht Laumann Jespersen
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=20220808114953.8009-1-t@laumann.xyz \
--to=t@laumann.xyz \
--cc=gentoo-portage-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