[PATCH] EbuildPhase: print SLOT along other build metadata
Thomas Bracht Laumann Jespersen <[email protected]> Mon, 8 Aug 2022 13:49:53 +0200
| Newsgroups | gmane.linux.gentoo.portage.devel |
|---|---|
| Message-ID | <[email protected]> |
Requested as a useful part in the output from tinderbox runs. Closes: https://bugs.gentoo.org/864382 Signed-off-by: Thomas Bracht Laumann Jespersen <[email protected]> --- 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