Gentoo Archives: gentoo-portage-dev

From: Thomas Bracht Laumann Jespersen <t@×××××××.xyz>
To: gentoo-portage-dev@l.g.o
Cc: Thomas Bracht Laumann Jespersen <t@×××××××.xyz>
Subject: [gentoo-portage-dev] [PATCH] EbuildPhase: print SLOT along other build metadata
Date: Mon, 08 Aug 2022 11:50:03
Message-Id: 20220808114953.8009-1-t@laumann.xyz
1 Requested as a useful part in the output from tinderbox runs.
2
3 Closes: https://bugs.gentoo.org/864382
4 Signed-off-by: Thomas Bracht Laumann Jespersen <t@×××××××.xyz>
5 ---
6
7 Quick tests with a random non-SLOT=0 package produces this now:
8
9 * Package: dev-libs/libdaemon-0.14-r3
10 * Slot: 0/5
11 * Repository: gentoo
12 * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
13 * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
14 >>> Unpacking source...
15 >>> Unpacking libdaemon-0.14.tar.gz to /var/tmp/portage/dev-libs/libdaemon-0.14-r3/work
16 >>> Source unpacked in /var/tmp/portage/dev-libs/libdaemon-0.14-r3/work
17
18 I hope I haven't overlooked anything.
19
20 lib/_emerge/EbuildPhase.py | 1 +
21 1 file changed, 1 insertion(+)
22
23 diff --git a/lib/_emerge/EbuildPhase.py b/lib/_emerge/EbuildPhase.py
24 index 9a04f9c1f..6dce4aedb 100644
25 --- a/lib/_emerge/EbuildPhase.py
26 +++ b/lib/_emerge/EbuildPhase.py
27 @@ -136,6 +136,7 @@ class EbuildPhase(CompositeTask):
28
29 msg = []
30 msg.append("Package: %s" % self.settings.mycpv)
31 + msg.append("Slot: %s" % self.settings["SLOT"])
32 if self.settings.get("PORTAGE_REPO_NAME"):
33 msg.append("Repository: %s" % self.settings["PORTAGE_REPO_NAME"])
34 if maint_str:
35 --
36 2.37.1

Replies

Subject Author
[gentoo-portage-dev] [PATCH] EbuildPhase: print SLOT along other build metadata Thomas Bracht Laumann Jespersen <t@×××××××.xyz>