|
|
__init__(self,
_unused_param=<type 'exceptions.DeprecationWarning'>,
mysettings=None)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
|
|
|
|
_init_cache_dirs(self)
Create /var/cache/edb/dep and adjust permissions for the portage
group. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
| findname(self,
mycpv,
mytree=None,
myrepo=None) |
source code
|
|
|
|
getRepositoryPath(self,
repository_id)
This function is required for GLEP 42 compliance; given a valid
repository ID it must return a path to the repository TreeMap = {
id:path } |
source code
|
|
|
String or None
|
|
|
|
getRepositories(self)
This function is required for GLEP 42 compliance; it will return a
list of repository IDs TreeMap = {id: path} |
source code
|
|
|
|
getMissingRepoNames(self)
Returns a list of repository paths that lack profiles/repo_name. |
source code
|
|
|
|
getIgnoredRepos(self)
Returns a list of repository paths that have been ignored, because
another repo with the same name exists. |
source code
|
|
|
|
findname2(self,
mycpv,
mytree=None,
myrepo=None)
Returns the location of the CPV, and what overlay it was in. |
source code
|
|
|
|
| _write_cache(self,
cpv,
repo_path,
metadata,
ebuild_hash) |
source code
|
|
|
|
| _pull_valid_cache(self,
cpv,
ebuild_path,
repo_path) |
source code
|
|
|
|
aux_get(self,
mycpv,
mylist,
mytree=None,
myrepo=None)
stub code for returning auxilliary db information, such as SLOT,
DEPEND, etc. |
source code
|
|
|
dict
|
getFetchMap(self,
mypkg,
useflags=None,
mytree=None)
Get the SRC_URI metadata as a dict which maps each file name to a set
of alternative URIs. |
source code
|
|
|
|
| getfetchsizes(self,
mypkg,
useflags=None,
debug=0,
myrepo=None) |
source code
|
|
|
|
fetch_check(self,
mypkg,
useflags=None,
mysettings=None,
all=False,
myrepo=None)
TODO: account for PORTAGE_RO_DISTDIRS |
source code
|
|
|
|
cpv_exists(self,
mykey,
myrepo=None)
Tells us whether an actual ebuild exists on disk (no masking) |
source code
|
|
|
|
cp_all(self,
categories=None,
trees=None,
reverse=False)
This returns a list of all keys in our tree or trees |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
xmatch(self,
level,
origdep,
mydep=None,
mykey=None,
mylist=None)
caching match function; very trick stuff |
source code
|
|
|
|
match(self,
mydep,
use_cache=1)
Given a dependency, try to find packages that match... |
source code
|
|
|
|
|
|
|
|
|
|
_iter_visible(self,
cpv_iter,
myrepo=None)
Return a new list containing only visible packages. |
source code
|
|
|
|
|
|
Inherited from dbapi:
aux_update,
cpv_all,
invalidentry,
move_slot_ent,
update_ents
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|