Lines Matching refs:facet

44 import pkg.facet as facet
440 emit_facets = "pkg.facet" not in self
460 # Unique (facet, value) (variant, value) combinations.
469 elif attrs["name"][:9] == "pkg.facet":
478 elif attr[:6] == "facet.":
520 # Get unvarianted facet set.
533 # package have at least one facet, then the intersection
584 # At least one facet is shared between
598 # Omit the "facet." prefix from attribute values since
604 # emit this as "set name=pkg.facet" which is
606 # value=pkg.facet". Not what we wanted, but is
617 name="pkg.facet.common", value=val))
619 # Now emit a pkg.facet action for each variant
634 # Omit the "facet." prefix from attribute values
638 name="pkg.facet.{0}".format(key),
647 # for each facet/variant combination.
671 # facet.docTruevariant.archi386...
717 # one reference is delivered without a facet or
747 """A generator function that returns the supported facet
751 facet values is not returned."""
758 facets = self["pkg.facet"]
765 for f in misc.yield_matching("facet.", facets, patterns):
769 # If different excludes were specified, then look for pkg.facet
774 if a.attrs["name"][:10] == "pkg.facet.":
775 # Either a pkg.facet.common action or a
776 # pkg.facet.X variant-specific action.
783 for f in misc.yield_matching("facet.", (
784 "facet.{0}".format(n)
789 # possible a given facet may be
801 for f in misc.yield_matching("facet.", facets, patterns):
1101 # variants and facet excludes were or that variant, facet and
1175 # Ensure facet and variant attributes are always lists.
1176 if keyvalue[:10] == "pkg.facet.":
1183 seen = self.attributes.setdefault("pkg.facet", [])
1185 entry = "facet.{0}".format(f)
1188 # given facet may be valid for more than
1466 # our current variant/facet filtering system doesn't
1473 if x.__func__ != facet._allow_facet
1478 if x.__func__ != facet.Facets.allow_action
1852 """A generator function that returns the supported facet
1856 facet values is not returned."""