python-utils-r1.eclass: _python_set_impls, add integrity check
authorMichał Górny <mgorny@gentoo.org>
Wed, 1 Mar 2017 08:20:12 +0000 (09:20 +0100)
committerMichał Górny <mgorny@gentoo.org>
Wed, 8 Mar 2017 07:35:43 +0000 (08:35 +0100)
commitd2fb3f82e9c4ea1626eb465b153ccd1e8c5b2c9e
tree8de03cd6f27e36ae95c446d85f23e7f63ef9a798
parent2980579f58b803d7c2ba9e6f374fdd5a40cb9339
python-utils-r1.eclass: _python_set_impls, add integrity check

Add integrity check for multi-inherits, i.e. ensure that PYTHON_COMPAT
has not changed between successive calls to _python_set_impls. If it did
(e.g. because of eclass+ebuild setting different values), then we abort
not to give surprising results to the user.
eclass/python-utils-r1.eclass