Lines 1117-1123
class depgraph(object):
Link Here
|
1117 |
if atom is None: |
1117 |
if atom is None: |
1118 |
atom = Atom("=" + pkg.cpv) |
1118 |
atom = Atom("=" + pkg.cpv) |
1119 |
self._dynamic_config._unsatisfied_deps_for_display.append( |
1119 |
self._dynamic_config._unsatisfied_deps_for_display.append( |
1120 |
((pkg.root, atom), {"myparent":dep.parent})) |
1120 |
((pkg.root, atom), {"myparent":dep.parent, "show_req_use":pkg})) |
1121 |
self._dynamic_config._skip_restart = True |
1121 |
self._dynamic_config._skip_restart = True |
1122 |
return 0 |
1122 |
return 0 |
1123 |
|
1123 |
|
Lines 2928-2934
class depgraph(object):
Link Here
|
2928 |
|
2928 |
|
2929 |
|
2929 |
|
2930 |
def _show_unsatisfied_dep(self, root, atom, myparent=None, arg=None, |
2930 |
def _show_unsatisfied_dep(self, root, atom, myparent=None, arg=None, |
2931 |
check_backtrack=False, check_autounmask_breakage=False): |
2931 |
check_backtrack=False, check_autounmask_breakage=False, show_req_use=None): |
2932 |
""" |
2932 |
""" |
2933 |
When check_backtrack=True, no output is produced and |
2933 |
When check_backtrack=True, no output is produced and |
2934 |
the method either returns or raises _backtrack_mask if |
2934 |
the method either returns or raises _backtrack_mask if |
Lines 3028-3034
class depgraph(object):
Link Here
|
3028 |
"InvalidAtom: '%s' parent: %s" % \ |
3028 |
"InvalidAtom: '%s' parent: %s" % \ |
3029 |
(atom, myparent), noiselevel=-1) |
3029 |
(atom, myparent), noiselevel=-1) |
3030 |
raise |
3030 |
raise |
3031 |
if not mreasons and \ |
3031 |
if (not mreasons or pkg is show_req_use) and \ |
3032 |
not pkg.built and \ |
3032 |
not pkg.built and \ |
3033 |
pkg.metadata.get("REQUIRED_USE") and \ |
3033 |
pkg.metadata.get("REQUIRED_USE") and \ |
3034 |
eapi_has_required_use(pkg.metadata["EAPI"]): |
3034 |
eapi_has_required_use(pkg.metadata["EAPI"]): |