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