Lines 7908-7913
class depgraph(object):
Link Here
|
7908 |
autounmask_write = \ |
7908 |
autounmask_write = \ |
7909 |
self._frozen_config.myopts.get("--autounmask-write", |
7909 |
self._frozen_config.myopts.get("--autounmask-write", |
7910 |
ask) is True |
7910 |
ask) is True |
|
|
7911 |
autounmask_comments = \ |
7912 |
self._frozen_config.myopts.get("--autounmask-comments", True) == True |
7911 |
autounmask_unrestricted_atoms = \ |
7913 |
autounmask_unrestricted_atoms = \ |
7912 |
self._frozen_config.myopts.get("--autounmask-unrestricted-atoms", "n") == True |
7914 |
self._frozen_config.myopts.get("--autounmask-unrestricted-atoms", "n") == True |
7913 |
quiet = "--quiet" in self._frozen_config.myopts |
7915 |
quiet = "--quiet" in self._frozen_config.myopts |
Lines 7966-7972
class depgraph(object):
Link Here
|
7966 |
if keyword == "**": |
7968 |
if keyword == "**": |
7967 |
masked_by_missing_keywords = True |
7969 |
masked_by_missing_keywords = True |
7968 |
|
7970 |
|
7969 |
unstable_keyword_msg[root].append(self._get_dep_chain_as_comment(pkg)) |
7971 |
if autounmask_comments: |
|
|
7972 |
unstable_keyword_msg[root].append(self._get_dep_chain_as_comment(pkg)) |
7973 |
|
7970 |
if autounmask_unrestricted_atoms: |
7974 |
if autounmask_unrestricted_atoms: |
7971 |
if is_latest: |
7975 |
if is_latest: |
7972 |
unstable_keyword_msg[root].append(">=%s %s\n" % (pkg.cpv, keyword)) |
7976 |
unstable_keyword_msg[root].append(">=%s %s\n" % (pkg.cpv, keyword)) |
Lines 7999-8012
class depgraph(object):
Link Here
|
7999 |
portdb=pkg.root_config.trees["porttree"].dbapi, |
8003 |
portdb=pkg.root_config.trees["porttree"].dbapi, |
8000 |
return_location=True) |
8004 |
return_location=True) |
8001 |
|
8005 |
|
8002 |
p_mask_change_msg[root].append(self._get_dep_chain_as_comment(pkg)) |
8006 |
if autounmask_comments: |
8003 |
if filename: |
8007 |
p_mask_change_msg[root].append(self._get_dep_chain_as_comment(pkg)) |
8004 |
p_mask_change_msg[root].append("# %s:\n" % filename) |
8008 |
|
8005 |
if comment: |
8009 |
if filename: |
8006 |
comment = [line for line in |
8010 |
p_mask_change_msg[root].append("# %s:\n" % filename) |
8007 |
comment.splitlines() if line] |
8011 |
if comment: |
8008 |
for line in comment: |
8012 |
comment = [line for line in |
8009 |
p_mask_change_msg[root].append("%s\n" % line) |
8013 |
comment.splitlines() if line] |
|
|
8014 |
for line in comment: |
8015 |
p_mask_change_msg[root].append("%s\n" % line) |
8010 |
if autounmask_unrestricted_atoms: |
8016 |
if autounmask_unrestricted_atoms: |
8011 |
if is_latest: |
8017 |
if is_latest: |
8012 |
p_mask_change_msg[root].append(">=%s\n" % pkg.cpv) |
8018 |
p_mask_change_msg[root].append(">=%s\n" % pkg.cpv) |
Lines 8038-8044
class depgraph(object):
Link Here
|
8038 |
adjustments.append(flag) |
8044 |
adjustments.append(flag) |
8039 |
else: |
8045 |
else: |
8040 |
adjustments.append("-" + flag) |
8046 |
adjustments.append("-" + flag) |
8041 |
use_changes_msg[root].append(self._get_dep_chain_as_comment(pkg, unsatisfied_dependency=True)) |
8047 |
|
|
|
8048 |
if autounmask_comments: |
8049 |
use_changes_msg[root].append(self._get_dep_chain_as_comment(pkg, unsatisfied_dependency=True)) |
8050 |
|
8042 |
if is_latest: |
8051 |
if is_latest: |
8043 |
use_changes_msg[root].append(">=%s %s\n" % (pkg.cpv, " ".join(adjustments))) |
8052 |
use_changes_msg[root].append(">=%s %s\n" % (pkg.cpv, " ".join(adjustments))) |
8044 |
elif is_latest_in_slot: |
8053 |
elif is_latest_in_slot: |
Lines 8055-8061
class depgraph(object):
Link Here
|
8055 |
license_msg.setdefault(root, []) |
8064 |
license_msg.setdefault(root, []) |
8056 |
is_latest, is_latest_in_slot = check_if_latest(pkg) |
8065 |
is_latest, is_latest_in_slot = check_if_latest(pkg) |
8057 |
|
8066 |
|
8058 |
license_msg[root].append(self._get_dep_chain_as_comment(pkg)) |
8067 |
if autounmask_comments: |
|
|
8068 |
license_msg[root].append(self._get_dep_chain_as_comment(pkg)) |
8069 |
|
8059 |
if is_latest: |
8070 |
if is_latest: |
8060 |
license_msg[root].append(">=%s %s\n" % (pkg.cpv, " ".join(sorted(missing_licenses)))) |
8071 |
license_msg[root].append(">=%s %s\n" % (pkg.cpv, " ".join(sorted(missing_licenses)))) |
8061 |
elif is_latest_in_slot: |
8072 |
elif is_latest_in_slot: |