Signed-off-by: Michał Górny <mgo...@gentoo.org> --- eclass/python-any-r1.eclass | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/eclass/python-any-r1.eclass b/eclass/python-any-r1.eclass index 7a91507a600f..184efc46b5d4 100644 --- a/eclass/python-any-r1.eclass +++ b/eclass/python-any-r1.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: python-any-r1.eclass @@ -171,6 +171,10 @@ _python_any_set_globals() { PYTHON_DEPS=${deps} readonly PYTHON_DEPS fi + + # fake var to catch mistaken usage + PYTHON_REQUIRED_USE='I-DO-NOT-EXIST-IN-PYTHON-ANY-R1' + readonly PYTHON_REQUIRED_USE } _python_any_set_globals unset -f _python_any_set_globals -- 2.22.0