diff options
-rwxr-xr-x | bin/repoman | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/repoman b/bin/repoman index 18f4d7267..f1cb3016e 100755 --- a/bin/repoman +++ b/bin/repoman @@ -1104,6 +1104,7 @@ if isCvs: new_ebuilds.update(x for x in mynew if x.endswith(".ebuild")) del mycvstree, mynew +have_masked = False dofail = 0 arch_caches={} arch_xmatch_caches = {} @@ -1834,6 +1835,7 @@ for x in scanlist: ismasked = os.path.join(catdir, y) not in \ portdb.xmatch("list-visible", x) if ismasked: + have_masked = True if "--ignore-masked" in myoptions: continue #we are testing deps for a masked package; give it some lee-way @@ -1958,6 +1960,10 @@ def grouplist(mylist,seperator="/"): mygroups[xs[0]]+=[seperator.join(xs[1:])] return mygroups +if have_masked and not ("--without-mask" in myoptions or "--ignore-masked" in myoptions): + print bold("Note: use --without-mask to check " + \ + "KEYWORDS on dependencies of masked packages") + if mymode!="commit": if dofull: print bold("Note: type \"repoman full\" for a complete listing.") |