| Home | Trees | Index | Help |
|
|---|
| Module paludis :: Class EnvironmentImplementation |
|
object--+ |instance--+ |Environment--+ | EnvironmentImplementation
| Method Summary | |
|---|---|
__init__(...)
| |
[selection] -> list of PackageID Return PackageID instances matching a given selection. | |
__reduce__(...)
| |
Do we accept any of the specified keywords for a particular package? | |
| bool |
Do we accept a particular license for a particular package? |
| list of paths |
Return a collection of bashrc files to be used by the various components that are implemented in bash. |
| list of Repository |
Default destination candidates for installing packages. |
| str |
NEED_DOC |
| list of paths |
Return directories to search for fetcher scripts. |
| list of paths |
Return directories to search for hooks. |
| UseFlagNameIterable |
Return a collection of known use flag names for a particular package that start with a particular use expand prefix. |
| Mask |
Do we have a 'breaks' mask for a particular package? |
| Mask |
Do we have a 'user' mask for a particular package? |
| list of str |
Return the mirror URI prefixes for a named mirror. |
| str |
Return the command used to launch paludis (the client). |
| bool |
Is a particular use flag enabled for a particular package? |
| int |
Group id to use when reduced privs are permissible. |
| int |
User id to use when reduced privs are permissible. |
| path |
Our root location for installs. |
| CompositeDepSpec |
Return a named set. |
| list of SetName |
Return all known named sets. |
Change the command used to launch paludis (the client). | |
| list of paths |
Return directories to search for syncer scripts. |
| bool |
Do we have a user unmask for a particular package? |
| Inherited from instance | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
| Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) | |
| Property Summary | |
|---|---|
| Inherited from Environment | |
package_database: [ro] PackageDatabase Our package databas. | |
| Class Variable Summary | |
|---|---|
int |
__instance_size__ = 32 |
| Method Details |
|---|
__getitem__(...)
|
accept_keywords(KeywordsNameIterable, PackageID)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. |
accept_license(str, PackageID)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?
|
bashrc_files()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_destinations()Default destination candidates for installing packages. default_destinations() -> list of Repository Default destination candidates for installing packages.
|
distribution()NEED_DOC distribution() -> str NEED_DOC
|
fetchers_dirs()Return directories to search for fetcher scripts. fetchers_dirs() -> list of paths Return directories to search for fetcher scripts.
|
hook_dirs()Return directories to search for hooks. hook_dirs() -> list of paths Return directories to search for hooks.
|
known_use_expand_names(UseFlagName, PackageID)Return a collection of known use flag names for a particular package that start with a particular use expand prefix. It is up to subclasses to decide whether to return all known use flags with the specified prefix or merely all enabled use flags. It is not safe to assume that all flags in the returned value will be enabled for the specified package. known_use_expand_names(UseFlagName, PackageID) -> UseFlagNameIterable Return a collection of known use flag names for a particular package that start with a particular use expand prefix. It is up to subclasses to decide whether to return all known use flags with the specified prefix or merely all enabled use flags. It is not safe to assume that all flags in the returned value will be enabled for the specified package.
|
mask_for_breakage(PackageID)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.
|
mask_for_user(PackageID)Do we have a 'user' mask for a particular package? Returns None if no. mask_for_user(PackageID) -> Mask Do we have a 'user' mask for a particular package? Returns None if no.
|
mirrors(str)Return the mirror URI prefixes for a named mirror. mirrors(str) -> list of str Return the mirror URI prefixes for a named mirror.
|
paludis_command()Return the command used to launch paludis (the client). paludis_command() -> str Return the command used to launch paludis (the client).
|
query_use(UseFlagName, PackageID)Is a particular use flag enabled for a particular package? query_use(UseFlagName, PackageID) -> bool Is a particular use flag enabled for a particular package?
|
reduced_gid()Group id to use when reduced privs are permissible. reduced_gid() -> int Group id to use when reduced privs are permissible.
|
reduced_uid()User id to use when reduced privs are permissible. reduced_uid() -> int User id to use when reduced privs are permissible.
|
root()Our root location for installs. root() -> path Our root location for installs.
|
set(SetName)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.
|
set_names()Return all known named sets. set_names() -> list of SetName Return all known named sets.
|
set_paludis_command(str)Change the command used to launch paludis (the client). set_paludis_command(str) Change the command used to launch paludis (the client). |
syncers_dirs()Return directories to search for syncer scripts. syncers_dirs() -> list of paths Return directories to search for syncer scripts.
|
unmasked_by_user(PackageID)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.
|
| Class Variable Details |
|---|
__instance_size__
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Mon Aug 4 19:40:18 2008 | http://epydoc.sf.net |