A fake dbapi that allows consumers to inject/remove packages to/from
it portage.settings is required to maintain the dbAPI.
|
|
__init__(self,
settings=None,
exclusive_slots=True)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
|
|
|
|
match(self,
origdep,
use_cache=1)
Given a dependency, try to find packages that match... |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
cpv_all(self)
Return all CPVs in the db
Args:
None
Returns:
A list of Strings, 1 per CPV |
source code
|
|
|
|
|
|
|
cpv_remove(self,
mycpv)
Removes a cpv from the list of available packages. |
source code
|
|
|
|
aux_get(self,
mycpv,
wants,
myrepo=None)
Return the metadata keys in mylist for mycpv
Args:
mycpv - "sys-apps/foo-1.0"
mylist - ["SLOT","DEPEND","HOMEPAGE"]
myrepo - The repository name. |
source code
|
|
|
|
|
|
Inherited from dbapi:
close_caches,
invalidentry,
move_slot_ent,
update_ents
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|