1 |
This variable is meant to be set in downstream overlays when they need python |
2 |
implementations other than the ones we support in the tree. |
3 |
It should be a space-separated list of extra implementations. |
4 |
|
5 |
Signed-off-by: William Hubbs <williamh@g.o> |
6 |
--- |
7 |
eclass/python-utils-r1.eclass | 2 ++ |
8 |
1 file changed, 2 insertions(+) |
9 |
|
10 |
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass |
11 |
index aacee5ac35a..4370c7a825f 100644 |
12 |
--- a/eclass/python-utils-r1.eclass |
13 |
+++ b/eclass/python-utils-r1.eclass |
14 |
@@ -43,6 +43,8 @@ _PYTHON_ALL_IMPLS=( |
15 |
python2_7 |
16 |
python3_6 python3_7 python3_8 |
17 |
) |
18 |
+[[ -n ${PYTHON_COMPAT_ALLOW_EXTRA_IMPLS[*]} ]] && |
19 |
+ _PYTHON_ALL_IMPLS+=( ${PYTHON_COMPAT_ALLOW_EXTRA_IMPLS} ) |
20 |
readonly _PYTHON_ALL_IMPLS |
21 |
|
22 |
# @ECLASS-VARIABLE: PYTHON_COMPAT_NO_STRICT |
23 |
-- |
24 |
2.24.1 |