commit:     7fa01035846b24c94768906b18fac17ab17a6f8a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Nov  8 23:41:57 2015 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Nov 12 19:32:37 2015 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=7fa01035

EAPI 6: Revert support for profile- and repo-level directories

Revert the support for profile- and repository-level directories that
has been voted out of EAPI 6.

 pym/portage/eapi.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pym/portage/eapi.py b/pym/portage/eapi.py
index 7217d23..4f77910 100644
--- a/pym/portage/eapi.py
+++ b/pym/portage/eapi.py
@@ -81,7 +81,7 @@ def eapi_supports_stable_use_forcing_and_masking(eapi):
        return eapi not in ("0", "1", "2", "3", "4", "4-python", "4-slot-abi")
 
 def eapi_allows_directories_on_profile_level_and_repository_level(eapi):
-       return eapi not in ("0", "1", "2", "3", "4", "4-slot-abi", "5")
+       return eapi in ("4-python", "5-progress")
 
 def eapi_has_use_aliases(eapi):
        return eapi in ("4-python", "5-progress")

Reply via email to