pkgcore.ebuild.eapi module¶
- class pkgcore.ebuild.eapi.EAPI(magic, parent=None, phases=(), default_phases=(), mandatory_keys=(), dep_keys=(), metadata_keys=(), eclass_keys=(), tracked_attributes=(), archive_exts=(), optionals=None, ebd_env_options=None)[source]¶
Bases:
object- archive_exts_regex¶
Regex matching strings ending with supported archive extensions.
- archive_exts_regex_pattern¶
Regex pattern for supported archive extensions.
- atom_kls¶
- bash_cmds_banned¶
EAPI specific commands banned for this EAPI.
- bash_cmds_deprecated¶
EAPI specific commands deprecated for this EAPI.
- bash_cmds_internal¶
EAPI specific commands for this EAPI.
- bash_funcs¶
Internally implemented EAPI specific functions to skip when exporting.
- bash_funcs_global¶
Internally implemented global EAPI specific functions to skip when exporting.
- ebd_env¶
Dictionary of EAPI options passed to the ebd environment.
- helpers¶
Phase to directory mapping for EAPI specific helpers to add to $PATH.
- inherits¶
Ordered set containing an EAPI’s inheritance tree.
Note that this assumes a simple, linear inheritance tree.
- known_eapis = <WeakValueDictionary>¶
- property magic¶
Return a callable object that fetches the given attribute(s) from its operand. After f = attrgetter(‘name’), the call f(r) returns r.name. After g = attrgetter(‘name’, ‘date’), the call g(r) returns (r.name, r.date). After h = attrgetter(‘name.first’, ‘name.last’), the call h(r) returns (r.name.first, r.name.last).
- supported¶
Check if an EAPI is supported.
- unknown_eapis = <WeakValueDictionary>¶
- valid_slot_regex¶
Regex matching valid SLOT values.