Lines Matching defs:PackageInfo
45 from pkg.api_common import (PackageInfo, LicenseInfo, PackageCategory,
287 lists of PackageInfo objects or strings."""
289 bad_opts = info_needed - PackageInfo.ALL_OPTIONS
312 cat_opts = frozenset([PackageInfo.SUMMARY,
313 PackageInfo.CATEGORIES, PackageInfo.DESCRIPTION,
314 PackageInfo.DEPENDENCIES])
317 act_opts = PackageInfo.ACTION_OPTIONS - \
318 frozenset([PackageInfo.DEPENDENCIES])
324 if PackageInfo.IDENTITY in info_needed:
348 if (frozenset([PackageInfo.SIZE,
349 PackageInfo.LICENSES]) | act_opts) & info_needed:
363 if PackageInfo.LICENSES in info_needed:
366 if PackageInfo.SIZE in info_needed:
371 if PackageInfo.LINKS in info_needed:
375 if PackageInfo.HARDLINKS in info_needed:
379 if PackageInfo.FILES in info_needed:
383 if PackageInfo.DIRS in info_needed:
388 pis.append(PackageInfo(pkg_stem=name, summary=summary,