public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: "Michał Górny" <mgorny@gentoo.org>
Subject: [gentoo-dev] [PATCH 0/5] python*-r1: commonize PYTHON_COMPAT handling
Date: Thu, 17 Dec 2015 23:02:53 +0100	[thread overview]
Message-ID: <1450389778-10144-1-git-send-email-mgorny@gentoo.org> (raw)

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



             reply	other threads:[~2015-12-17 22:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-17 22:02 Michał Górny [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1450389778-10144-1-git-send-email-mgorny@gentoo.org \
    --to=mgorny@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox