1 |
Fix the off-by-one error in construction of supported EAPI list that |
2 |
resulted in EAPI 5 being considered unsupported. |
3 |
--- |
4 |
pym/portage/__init__.py | 2 +- |
5 |
1 file changed, 1 insertion(+), 1 deletion(-) |
6 |
|
7 |
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py |
8 |
index fdbc4a8..18b2599 100644 |
9 |
--- a/pym/portage/__init__.py |
10 |
+++ b/pym/portage/__init__.py |
11 |
@@ -493,7 +493,7 @@ _doebuild_manifest_exempt_depend = 0 |
12 |
|
13 |
_testing_eapis = frozenset(["4-python", "4-slot-abi", "5-progress", "5-hdepend"]) |
14 |
_deprecated_eapis = frozenset(["4_pre1", "3_pre2", "3_pre1", "5_pre1", "5_pre2"]) |
15 |
-_supported_eapis = frozenset([str(x) for x in range(portage.const.EAPI)] + list(_testing_eapis) + list(_deprecated_eapis)) |
16 |
+_supported_eapis = frozenset([str(x) for x in range(portage.const.EAPI + 1)] + list(_testing_eapis) + list(_deprecated_eapis)) |
17 |
|
18 |
def _eapi_is_deprecated(eapi): |
19 |
return eapi in _deprecated_eapis |
20 |
-- |
21 |
2.0.4 |