* [gentoo-commits] portage r14155 - main/trunk/pym/_emerge
@ 2009-08-25 5:09 Zac Medico (zmedico)
0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2009-08-25 5:09 UTC (permalink / raw
To: gentoo-commits
Author: zmedico
Date: 2009-08-25 05:09:25 +0000 (Tue, 25 Aug 2009)
New Revision: 14155
Modified:
main/trunk/pym/_emerge/depgraph.py
Log:
Inside depgraph._show_unsatisfied_dep(), show reasons for packages masked due
to backtracking.
Modified: main/trunk/pym/_emerge/depgraph.py
===================================================================
--- main/trunk/pym/_emerge/depgraph.py 2009-08-24 21:37:30 UTC (rev 14154)
+++ main/trunk/pym/_emerge/depgraph.py 2009-08-25 05:09:25 UTC (rev 14155)
@@ -1891,9 +1891,8 @@
metadata, mreasons = get_mask_info(root_config, cpv,
pkgsettings, db, pkg_type, built, installed, db_keys)
if metadata is not None:
- pkg = Package(built=built, cpv=cpv,
- installed=installed, metadata=metadata,
- root_config=root_config)
+ pkg = self._pkg(cpv, pkg_type, root_config,
+ installed=installed)
if pkg.cp != atom.cp:
# A cpv can be returned from dbapi.match() as an
# old-style virtual match even in cases when the
@@ -1901,6 +1900,11 @@
# Filter out any such false matches here.
if not atom_set.findAtomForPackage(pkg):
continue
+ if pkg in self._dynamic_config._runtime_pkg_mask:
+ backtrack_reasons = \
+ self._dynamic_config._runtime_pkg_mask[pkg]
+ mreasons.append('backtracking: %s' % \
+ ', '.join(sorted(backtrack_reasons)))
if mreasons:
masked_pkg_instances.add(pkg)
if atom.use:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-08-28 20:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-25 5:09 [gentoo-commits] portage r14155 - main/trunk/pym/_emerge Zac Medico (zmedico)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox