From 15e48fc0654c385a1b1dbc8055932a8f58368eae Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 30 Mar 2008 03:59:28 +0000 Subject: [PATCH] Bug #211365 - Use catpkgsplit() instead of pkgsplit() for a cpv. svn path=/main/trunk/; revision=9615 --- pym/_emerge/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index cb369a6b9..878df06c9 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -3702,7 +3702,8 @@ class depgraph(object): if myinslotlist: myoldbest = portage.best(myinslotlist) addl = " " + fetch - if portage.pkgcmp(portage.pkgsplit(x[2]), portage.pkgsplit(myoldbest)) < 0: + if not portage.dep.cpvequal(pkg_key, + portage.best([pkg_key, myoldbest])): # Downgrade in slot addl += turquoise("U")+blue("D") if ordered: -- 2.26.2