1 |
Signed-off-by: Michał Górny <mgorny@g.o> |
2 |
--- |
3 |
eclass/python-any-r1.eclass | 6 +++++- |
4 |
1 file changed, 5 insertions(+), 1 deletion(-) |
5 |
|
6 |
diff --git a/eclass/python-any-r1.eclass b/eclass/python-any-r1.eclass |
7 |
index 7a91507a600f..184efc46b5d4 100644 |
8 |
--- a/eclass/python-any-r1.eclass |
9 |
+++ b/eclass/python-any-r1.eclass |
10 |
@@ -1,4 +1,4 @@ |
11 |
-# Copyright 1999-2018 Gentoo Foundation |
12 |
+# Copyright 1999-2019 Gentoo Authors |
13 |
# Distributed under the terms of the GNU General Public License v2 |
14 |
|
15 |
# @ECLASS: python-any-r1.eclass |
16 |
@@ -171,6 +171,10 @@ _python_any_set_globals() { |
17 |
PYTHON_DEPS=${deps} |
18 |
readonly PYTHON_DEPS |
19 |
fi |
20 |
+ |
21 |
+ # fake var to catch mistaken usage |
22 |
+ PYTHON_REQUIRED_USE='I-DO-NOT-EXIST-IN-PYTHON-ANY-R1' |
23 |
+ readonly PYTHON_REQUIRED_USE |
24 |
} |
25 |
_python_any_set_globals |
26 |
unset -f _python_any_set_globals |
27 |
-- |
28 |
2.22.0 |