Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 561926 Details for
Bug 675756
For new-slot package installation, show USE flags added/deleted in comparison with highest installed other-slot package instance
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
portage.patch (text/plain), 1.56 KB, created by
Arfrever Frehtes Taifersar Arahesis
on 2019-01-18 08:44:35 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Arfrever Frehtes Taifersar Arahesis
Created:
2019-01-18 08:44:35 UTC
Size:
1.56 KB
patch
obsolete
>From ddca3cca268c0a8ea493f6278aa7288ed31ecd05 Mon Sep 17 00:00:00 2001 >From: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> >Date: Fri, 18 Jan 2019 09:42:09 +0100 >Subject: [PATCH] emerge: For new-slot package installation, show USE flags > added/deleted in comparison with highest installed other-slot package > instance > >Bug: https://bugs.gentoo.org/675756 >Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> >--- > lib/_emerge/resolver/output.py | 14 ++++++++++---- > 1 file changed, 10 insertions(+), 4 deletions(-) > >diff --git a/lib/_emerge/resolver/output.py b/lib/_emerge/resolver/output.py >index 24340576c..05513ed9a 100644 >--- a/lib/_emerge/resolver/output.py >+++ b/lib/_emerge/resolver/output.py >@@ -1,4 +1,4 @@ >-# Copyright 2010-2018 Gentoo Foundation >+# Copyright 2010-2019 Gentoo Authors > # Distributed under the terms of the GNU General Public License v2 > > """Resolver output display operation. >@@ -673,9 +673,15 @@ class Display(object): > pkg_info.previous_pkg = self.vardb.match_pkgs( > Atom('=' + pkg.cpv))[0] > else: >- slot_matches = self.vardb.match_pkgs(pkg.slot_atom) >- if slot_matches: >- pkg_info.previous_pkg = slot_matches[0] >+ cp_slot_matches = self.vardb.match_pkgs(pkg.slot_atom) >+ if cp_slot_matches: >+ pkg_info.previous_pkg = cp_slot_matches[0] >+ else: >+ cp_matches = self.vardb.match_pkgs(Atom(pkg.cp)) >+ if cp_matches: >+ # Use highest installed other-slot package instance. >+ self.vardb._cpv_sort_ascending(cp_matches) >+ pkg_info.previous_pkg = cp_matches[-1] > > return pkg_info > >-- >2.20.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 675756
: 561926