_emerge.search module¶
- class _emerge.search.search(root_config, spinner, searchdesc, verbose, usepkg, usepkgonly, search_index=True, search_similarity=None, fuzzy=True, regex_auto=False)¶
Bases:
object
- VERSION_RELEASE = 2¶
- VERSION_SHORT = 1¶
- _aux_get(*args, **kwargs)¶
- _aux_get_error(cpv)¶
- _cp_all()¶
- _findname(*args, **kwargs)¶
- _first_cp(cp)¶
- _getFetchMap(*args, **kwargs)¶
- _iter_search()¶
- _spinner_update()¶
- _visible(db, cpv, metadata)¶
- _xmatch(level, atom)¶
This method does not expand old-style virtuals because it is restricted to returning matches for a single ${CATEGORY}/${PN} and old-style virual matches unreliable for that when querying multiple package databases. If necessary, old-style virtuals can be performed on atoms prior to calling this method.
- addCP(cp)¶
Add a specific cp to the search results. This modifies the behavior of the output method, so that it only displays specific packages added via this method.
- execute(searchkey)¶
Performs the search for the supplied search key
- getInstallationStatus(package)¶
- getVersion(full_package, detail)¶
- output()¶
Outputs the results of the search.