public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH 0/5] python*-r1: commonize PYTHON_COMPAT handling
@ 2015-12-17 22:02 Michał Górny
  2015-12-17 22:02 ` [gentoo-dev] [PATCH 1/5] python*-r1.eclass: Commonize PYTHON_COMPAT processing, cache the result Michał Górny
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Michał Górny @ 2015-12-17 22:02 UTC (permalink / raw
  To: gentoo-dev; +Cc: Michał Górny

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-12-17 22:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-17 22:02 [gentoo-dev] [PATCH 0/5] python*-r1: commonize PYTHON_COMPAT handling Michał Górny
2015-12-17 22:02 ` [gentoo-dev] [PATCH 1/5] python*-r1.eclass: Commonize PYTHON_COMPAT processing, cache the result Michał Górny
2015-12-17 22:02 ` [gentoo-dev] [PATCH 2/5] python-single-r1.eclass: Fix python_gen_* w/ single PYTHON_COMPAT impl Michał Górny
2015-12-17 22:02 ` [gentoo-dev] [PATCH 3/5] python-any-r1.eclass: Support PYTHON_COMPAT_OVERRIDE Michał Górny
2015-12-17 22:02 ` [gentoo-dev] [PATCH 4/5] python-single-r1.eclass: " Michał Górny
2015-12-17 22:02 ` [gentoo-dev] [PATCH 5/5] python-any-r1.eclass: Use reverse iter instead of reversing impls array Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox