python-r1.eclass: Move PYTHON_COMPAT_OVERRIDE warning into flag check
authorMichał Górny <mgorny@gentoo.org>
Fri, 19 May 2017 16:11:48 +0000 (18:11 +0200)
committerMichał Górny <mgorny@gentoo.org>
Mon, 29 May 2017 21:53:41 +0000 (23:53 +0200)
commitec82e21c11d1b8ccb3e6bd7cf5fb530a099ecc48
tree486ba572fbc9a9e476278c76b41a84e9c23db271
parent452f2b21a8c0c4e51006440cc7c4e680e8f4bea5
python-r1.eclass: Move PYTHON_COMPAT_OVERRIDE warning into flag check

Move the PYTHON_COMPAT_OVERRIDE warning from _python_obtain_impls()
to _python_validate_useflags(). Since the latter function is the only
point where the former is called, this is a purely cosmetic change at
the moment. However, it makes it possible to reuse the warning in
additional places without the necessity of setting MULTIBUILD_VARIANTS.
eclass/python-r1.eclass