diff options
-rw-r--r-- | pym/portage/dbapi/porttree.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py index 797c886f2..23fb67d32 100644 --- a/pym/portage/dbapi/porttree.py +++ b/pym/portage/dbapi/porttree.py @@ -417,6 +417,12 @@ class portdbapi(dbapi): self._metadata_callback( mycpv, myebuild, mylocation, mydata, emtime) + if mydata.get("INHERITED", False): + mydata["_eclasses_"] = \ + self.eclassdb.get_eclass_data(mydata["INHERITED"].split()) + else: + mydata["_eclasses_"] = {} + if not mydata.setdefault("EAPI", "0"): mydata["EAPI"] = "0" |