From a35385d83801ace458d5896285c9d89bedbbaca8 Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Fri, 21 Sep 2012 05:23:47 +0200 Subject: Move EAPI check for stable USE forcing and masking to portage.eapi module. --- pym/portage/eapi.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pym/portage/eapi.py') 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 ' -- cgit v1.2.3-1-g7c22