src/modules/catalog.py
changeset 1731 a76f8a1fc049
parent 1710 139720e2e756
child 1833 4edfd1d13e49
equal deleted inserted replaced
1730:c12580e62699 1731:a76f8a1fc049
  1517                 for a, attr_name in self.__gen_manifest_actions(m, atypes,
  1517                 for a, attr_name in self.__gen_manifest_actions(m, atypes,
  1518                     excludes):
  1518                     excludes):
  1519                         if (a.name == "depend" or \
  1519                         if (a.name == "depend" or \
  1520                             attr_name.startswith("variant") or \
  1520                             attr_name.startswith("variant") or \
  1521                             attr_name.startswith("facet") or \
  1521                             attr_name.startswith("facet") or \
       
  1522                             attr_name.startswith("pkg.depend.") or \
  1522                             attr_name in ("pkg.obsolete",
  1523                             attr_name in ("pkg.obsolete",
  1523                                 "pkg.renamed")):
  1524                                 "pkg.renamed")):
  1524                                 if Catalog.DEPENDENCY in info_needed:
  1525                                 if Catalog.DEPENDENCY in info_needed:
  1525                                         yield a
  1526                                         yield a
  1526                         elif Catalog.SUMMARY in info_needed and a.name == "set":
  1527                         elif Catalog.SUMMARY in info_needed and a.name == "set":
  1856                                         continue
  1857                                         continue
  1857 
  1858 
  1858                                 name = act.attrs["name"]
  1859                                 name = act.attrs["name"]
  1859                                 if name.startswith("variant") or \
  1860                                 if name.startswith("variant") or \
  1860                                     name.startswith("facet") or \
  1861                                     name.startswith("facet") or \
       
  1862                                     name.startswith("pkg.depend.") or \
  1861                                     name in ("pkg.obsolete", "pkg.renamed"):
  1863                                     name in ("pkg.obsolete", "pkg.renamed"):
  1862                                         # variant and facet data goes to the
  1864                                         # variant and facet data goes to the
  1863                                         # dependency catalog part.
  1865                                         # dependency catalog part.
  1864                                         dep_acts["C"].append(str(act))
  1866                                         dep_acts["C"].append(str(act))
  1865                                         continue
  1867                                         continue