diff options
author | Zac Medico <zmedico@gentoo.org> | 2012-03-22 22:37:39 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2012-03-22 22:37:39 -0700 |
commit | 67b8da916f1b4a601d09c3f867c005b39a04f28e (patch) | |
tree | 9edde5b1b8a083195b4e2f53e7c18fe18c82cc0a | |
parent | fcf73104165536c0789b9e1306a43fca95a0fe43 (diff) | |
download | portage-67b8da916f1b4a601d09c3f867c005b39a04f28e.tar.gz portage-67b8da916f1b4a601d09c3f867c005b39a04f28e.tar.bz2 portage-67b8da916f1b4a601d09c3f867c005b39a04f28e.zip |
repoman: disable dependency.unknown for blockers
This will fix bug #382407.
-rwxr-xr-x | bin/repoman | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/repoman b/bin/repoman index c5db1865f..d393df1ba 100755 --- a/bin/repoman +++ b/bin/repoman @@ -1866,7 +1866,11 @@ for x in effective_scanlist: if atom == "||": continue - if not portdb.xmatch("match-all", atom) and \ + # Skip dependency.unknown for blockers, so that we + # don't encourage people to remove necessary blockers, + # as discussed in bug #382407. + if atom.blocker is None and \ + not portdb.xmatch("match-all", atom) and \ not atom.cp.startswith("virtual/"): unknown_pkgs.add((mytype, atom.unevaluated_atom)) |