1 |
Disallow calling most of the ebuild helpers in global scope since they |
2 |
are meaningless in that context. Most of them are also prohibited by PMS |
3 |
for all EAPIs, so EAPI 6 sounds like a good moment to finally enforce |
4 |
that restriction. |
5 |
--- |
6 |
bin/eapi.sh | 2 +- |
7 |
1 file changed, 1 insertion(+), 1 deletion(-) |
8 |
|
9 |
diff --git a/bin/eapi.sh b/bin/eapi.sh |
10 |
index e0ade02..5ab92f4 100644 |
11 |
--- a/bin/eapi.sh |
12 |
+++ b/bin/eapi.sh |
13 |
@@ -159,7 +159,7 @@ ___eapi_helpers_can_die() { |
14 |
} |
15 |
|
16 |
___eapi_disallows_helpers_in_global_scope() { |
17 |
- [[ ${1-${EAPI}} =~ ^(4-python|5-progress)$ ]] |
18 |
+ [[ ! ${1-${EAPI}} =~ ^(0|1|2|3|4|4-slot-abi|5|5-hdepend)$ ]] |
19 |
} |
20 |
|
21 |
___eapi_unpack_is_case_sensitive() { |
22 |
-- |
23 |
2.1.3 |