Package portage :: Module eapi
[hide private]

Module eapi

source code

Classes [hide private]
  _eapi_attrs
_eapi_attrs(dots_in_PN, dots_in_use_flags, exports_EBUILD_PHASE_FUNC, feature_flag_test, feature_flag_targetroot, hdepend, iuse_defaults, iuse_effective, repo_deps, required_use, required_use_at_most_one_of, slot_operator, slot_deps, src_uri_arrows, strong_blocks, use_deps, use_dep_defaults)
Functions [hide private]
 
eapi_has_iuse_defaults(eapi) source code
 
eapi_has_iuse_effective(eapi) source code
 
eapi_has_slot_deps(eapi) source code
 
eapi_has_slot_operator(eapi) source code
 
eapi_has_src_uri_arrows(eapi) source code
 
eapi_has_use_deps(eapi) source code
 
eapi_has_strong_blocks(eapi) source code
 
eapi_has_src_prepare_and_src_configure(eapi) source code
 
eapi_supports_prefix(eapi) source code
 
eapi_exports_AA(eapi) source code
 
eapi_exports_KV(eapi) source code
 
eapi_exports_merge_type(eapi) source code
 
eapi_exports_replace_vars(eapi) source code
 
eapi_exports_EBUILD_PHASE_FUNC(eapi) source code
 
eapi_exports_REPOSITORY(eapi) source code
 
eapi_has_pkg_pretend(eapi) source code
 
eapi_has_implicit_rdepend(eapi) source code
 
eapi_has_dosed_dohard(eapi) source code
 
eapi_has_required_use(eapi) source code
 
eapi_has_required_use_at_most_one_of(eapi) source code
 
eapi_has_use_dep_defaults(eapi) source code
 
eapi_has_repo_deps(eapi) source code
 
eapi_allows_dots_in_PN(eapi) source code
 
eapi_allows_dots_in_use_flags(eapi) source code
 
eapi_supports_stable_use_forcing_and_masking(eapi) source code
 
eapi_allows_directories_on_profile_level_and_repository_level(eapi) source code
 
eapi_has_use_aliases(eapi) source code
 
eapi_has_automatic_unpack_dependencies(eapi) source code
 
eapi_has_hdepend(eapi) source code
 
eapi_has_targetroot(eapi) source code
 
_get_eapi_attrs(eapi)
When eapi is None then validation is not as strict, since we want the same to work for multiple EAPIs that may have slightly different rules.
source code
Variables [hide private]
  _eapi_attrs_cache = {None: _eapi_attrs(dots_in_PN=True, dots_i...
  __package__ = 'portage'

Imports: collections, eapi_is_supported


Function Details [hide private]

_get_eapi_attrs(eapi)

source code 

When eapi is None then validation is not as strict, since we want the same to work for multiple EAPIs that may have slightly different rules. An unsupported eapi is handled the same as when eapi is None, which may be helpful for handling of corrupt EAPI metadata in essential functions such as pkgsplit.


Variables Details [hide private]

_eapi_attrs_cache

Value:
{None: _eapi_attrs(dots_in_PN=True, dots_in_use_flags=True, exports_EB\
UILD_PHASE_FUNC=True, feature_flag_test=True, feature_flag_targetroot=\
False, hdepend=False, iuse_defaults=True, iuse_effective=False, repo_d\
eps=True, required_use=True, required_use_at_most_one_of=True, slot_op\
erator=True, slot_deps=True, src_uri_arrows=True, strong_blocks=True, \
use_deps=True, use_dep_defaults=True),
 u'0': _eapi_attrs(dots_in_PN=False, dots_in_use_flags=False, exports_\
EBUILD_PHASE_FUNC=False, feature_flag_test=True, feature_flag_targetro\
...