summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico2012-03-23 05:37:39 (GMT)
committerZac Medico2012-03-23 05:37:39 (GMT)
commit67b8da916f1b4a601d09c3f867c005b39a04f28e (patch)
tree9edde5b1b8a083195b4e2f53e7c18fe18c82cc0a
parentfcf73104165536c0789b9e1306a43fca95a0fe43 (diff)
repoman: disable dependency.unknown for blockers
This will fix bug #382407.
-rwxr-xr-xbin/repoman6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/repoman b/bin/repoman
index c5db186..d393df1 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))