Hello,
Here's yet another quick patch set for python*-r1 eclasses. Major
highlights:
* PYTHON_COMPAT processing is commonized and moved into python-utils-r1.
We no longer have random methods of accessing supported
and unsupported impls scattered all over the place.
* Supported and unsupported implementations are cached. So we don't have
to repeatedly check which ones are supported and which are to be
kipped. May speed up metadata regen a little. Or make it a bit slower.
* python-single-r1: python_gen_cond_dep and python_gen_usedep now
output correct USE dependencies when only a single impl is supported.
* PYTHON_COMPAT_OVERRIDE is now supported by all eclasses.
* Impl iteration in python-any-r1.eclass is a bit cleaner ;-).
Please review.
Michał Górny (5):
python*-r1.eclass: Commonize PYTHON_COMPAT processing, cache the
result
python-single-r1.eclass: Fix python_gen_* w/ single PYTHON_COMPAT impl
python-any-r1.eclass: Support PYTHON_COMPAT_OVERRIDE
python-single-r1.eclass: Support PYTHON_COMPAT_OVERRIDE
python-any-r1.eclass: Use reverse iter instead of reversing impls
array
eclass/python-any-r1.eclass | 69 +++++++++++++++----------
eclass/python-r1.eclass | 47 ++++-------------
eclass/python-single-r1.eclass | 113 ++++++++++++++++++++++++-----------------
eclass/python-utils-r1.eclass | 49 ++++++++++++++++++
4 files changed, 169 insertions(+), 109 deletions(-)
--
2.6.4