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 12:09:55
Message-Id: 20220808120931.25293-1-t@laumann.xyz
In Reply to: [gentoo-portage-dev] [PATCH] EbuildPhase: print SLOT along other build metadata by Thomas Bracht Laumann Jespersen
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 v1 -> v2: Instead of making a new line for "Slot: ", append the slot information
8 to the "Package: " line. Thanks to mgorny and Arfrever for the suggestion.
9
10 lib/_emerge/EbuildPhase.py | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13 diff --git a/lib/_emerge/EbuildPhase.py b/lib/_emerge/EbuildPhase.py
14 index 9a04f9c1f..1392c82e4 100644
15 --- a/lib/_emerge/EbuildPhase.py
16 +++ b/lib/_emerge/EbuildPhase.py
17 @@ -135,7 +135,7 @@ class EbuildPhase(CompositeTask):
18 maint_str = "<invalid metadata.xml>"
19
20 msg = []
21 - msg.append("Package: %s" % self.settings.mycpv)
22 + msg.append("Package: %s:%s" % self.settings.mycpv, self.settings["SLOT"])
23 if self.settings.get("PORTAGE_REPO_NAME"):
24 msg.append("Repository: %s" % self.settings["PORTAGE_REPO_NAME"])
25 if maint_str:
26 --
27 2.37.1

Replies

Subject Author
[gentoo-portage-dev] [PATCH v3] EbuildPhase: add SLOT to package version line Thomas Bracht Laumann Jespersen <t@×××××××.xyz>