| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
??.instance --+
|
Environment --+
|
EnvironmentImplementation
Represents a working environment, which contains an available packages database and provides various methods for querying package visibility and options. This class can be subclassed in Python.
|
|||
|
|||
|
|||
|
|||
| bool |
|
||
| list of paths |
|
||
| list of Repository |
|
||
| str |
|
||
| list of paths |
|
||
| list of paths |
|
||
| Mask |
|
||
| Mask |
|
||
| list of str |
|
||
| str |
|
||
| int |
|
||
| int |
|
||
| path |
|
||
| CompositeDepSpec |
|
||
| list of SetName |
|
||
|
|||
| list of paths |
|
||
| bool |
|
||
|
Inherited from Inherited from Inherited from |
|||
|
|||
__instance_size__ = 32
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
[selection] -> list of PackageID Return PackageID instances matching a given selection. [selection] -> list of PackageID Return PackageID instances matching a given selection.
|
Raises an exception This class cannot be instantiated from Python
|
Do we accept any of the specified keywords for a particular package? If the collection includes "*", should return true. accept_keywords(KeywordsNameIterable, PackageID) Do we accept any of the specified keywords for a particular package? If the collection includes "*", should return true. |
Do we accept a particular license for a particular package? accept_license(str, PackageID) -> bool Do we accept a particular license for a particular package?
|
Return a collection of bashrc files to be used by the various components that are implemented in bash. bashrc_files() -> list of paths Return a collection of bashrc files to be used by the various components that are implemented in bash.
|
Default destination candidates for installing packages. default_destinations() -> list of Repository Default destination candidates for installing packages.
|
NEED_DOC distribution() -> str NEED_DOC
|
Return directories to search for fetcher scripts. fetchers_dirs() -> list of paths Return directories to search for fetcher scripts.
|
Return directories to search for hooks. hook_dirs() -> list of paths Return directories to search for hooks.
|
Do we have a 'breaks' mask for a particular package? Returns None if no. mask_for_breakage(PackageID) -> Mask Do we have a 'breaks' mask for a particular package? Returns None if no.
|
Do we have a 'user' mask for a particular package? Returns None if no. The second parameter should be true if the mask will be overridden and false otherwise. mask_for_user(PackageID, bool) -> Mask Do we have a 'user' mask for a particular package? Returns None if no. The second parameter should be true if the mask will be overridden and false otherwise.
|
Return the mirror URI prefixes for a named mirror. mirrors(str) -> list of str Return the mirror URI prefixes for a named mirror.
|
Return the command used to launch paludis (the client). paludis_command() -> str Return the command used to launch paludis (the client).
|
Group id to use when reduced privs are permissible. reduced_gid() -> int Group id to use when reduced privs are permissible.
|
User id to use when reduced privs are permissible. reduced_uid() -> int User id to use when reduced privs are permissible.
|
Our root location for installs. root() -> path Our root location for installs.
|
Return a named set. If the named set is not known, returns None. set(SetName) -> CompositeDepSpec Return a named set. If the named set is not known, returns None.
|
Return all known named sets. set_names() -> list of SetName Return all known named sets.
|
Change the command used to launch paludis (the client). set_paludis_command(str) Change the command used to launch paludis (the client). |
Return directories to search for syncer scripts. syncers_dirs() -> list of paths Return directories to search for syncer scripts.
|
Do we have a user unmask for a particular package? This is only applied to repository and profile style masks, not keywords, licences etc. If true, user_mask shouldn't be used. unmasked_by_user(PackageID) -> bool Do we have a user unmask for a particular package? This is only applied to repository and profile style masks, not keywords, licences etc. If true, user_mask shouldn't be used.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Sat Jul 31 10:34:05 2010 | http://epydoc.sourceforge.net |