diff options
author | Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> | 2012-09-21 05:23:47 +0200 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> | 2012-09-21 05:23:47 +0200 |
commit | a35385d83801ace458d5896285c9d89bedbbaca8 (patch) | |
tree | 71e3ce8a571126a2774230066898e74982bae895 /pym/portage/eapi.py | |
parent | 3cedc1fa53f50641771fa1710aab10e1fcc10ff0 (diff) | |
download | portage-a35385d83801ace458d5896285c9d89bedbbaca8.tar.gz portage-a35385d83801ace458d5896285c9d89bedbbaca8.tar.bz2 portage-a35385d83801ace458d5896285c9d89bedbbaca8.zip |
Move EAPI check for stable USE forcing and masking to portage.eapi module.
Diffstat (limited to 'pym/portage/eapi.py')
-rw-r--r-- | pym/portage/eapi.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pym/portage/eapi.py b/pym/portage/eapi.py index 84d1afc89..4efd4eac1 100644 --- a/pym/portage/eapi.py +++ b/pym/portage/eapi.py @@ -77,6 +77,9 @@ def eapi_allows_dots_in_PN(eapi): def eapi_allows_dots_in_use_flags(eapi): return eapi in ("4-python",) +def eapi_supports_stable_use_forcing_and_masking(eapi): + return eapi not in ("0", "1", "2", "3", "4", "4-python", "4-slot-abi") + _eapi_attrs = collections.namedtuple('_eapi_attrs', 'dots_in_PN dots_in_use_flags exports_EBUILD_PHASE_FUNC ' 'iuse_defaults iuse_effective ' |