[PATCH] EbuildPhase: print SLOT along other build metadata
Thomas Bracht Laumann Jespersen <[email protected]> Mon, 8 Aug 2022 14:09:31 +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]> --- v1 -> v2: Instead of making a new line for "Slot: ", append the slot information to the "Package: " line. Thanks to mgorny and Arfrever for the suggestion. lib/_emerge/EbuildPhase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/_emerge/EbuildPhase.py b/lib/_emerge/EbuildPhase.py index 9a04f9c1f..1392c82e4 100644 --- a/lib/_emerge/EbuildPhase.py +++ b/lib/_emerge/EbuildPhase.py @@ -135,7 +135,7 @@ class EbuildPhase(CompositeTask): maint_str = "<invalid metadata.xml>" msg = [] - msg.append("Package: %s" % self.settings.mycpv) + msg.append("Package: %s:%s" % self.settings.mycpv, 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