summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/repoman3
-rw-r--r--pym/_emerge/__init__.py6
2 files changed, 7 insertions, 2 deletions
diff --git a/bin/repoman b/bin/repoman
index be8730f6a..e65449581 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -357,7 +357,8 @@ qawarnings=[
]
missingvars=["KEYWORDS","LICENSE","DESCRIPTION","HOMEPAGE","SLOT"]
-allvars = set(portage.auxdbkeys)
+allvars = set(x for x in portage.auxdbkeys if not x.startswith("UNUSED_"))
+allvars.discard("CDEPEND")
allvars.update(Package.metadata_keys)
allvars = sorted(allvars)
commitmessage=None
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index b5b726151..2056d44a2 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -1375,7 +1375,11 @@ class _PackageMetadataWrapper(object):
"""
Detect metadata updates and synchronize Package attributes.
"""
- _keys = Package.metadata_keys
+ _keys = set(x for x in portage.auxdbkeys \
+ if not x.startswith("UNUSED_"))
+ _keys.discard("CDEPEND")
+ _keys.update(Package.metadata_keys)
+ _keys = tuple(sorted(_keys))
__slots__ = ("__weakref__", "_pkg") + tuple("_val_" + k for k in _keys)
_wrapped_keys = frozenset(
["COUNTER", "INHERITED", "IUSE", "SLOT", "USE", "_mtime_"])