public inbox for gentoo-python@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-python@lists.gentoo.org
Cc: python@gentoo.org
Subject: [gentoo-python] Providing a common replacement for python_export_best & python*_pkg_setup
Date: Sat, 19 Oct 2013 10:48:57 +0200	[thread overview]
Message-ID: <20131019104857.6cd953d0@gentoo.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 888 bytes --]

Hello,

As a result of late doc writing and adding MERGE_TYPE check to
python-any-r1_pkg_setup, I'm thinking about adding a new function.

The function would, depending on the eclass in use:

1. for python-any-r1, be the 'original' version of
python-any-r1_pkg_setup, that is finding and setting up the Python
version without the MERGE_TYPE check,

2. for python-single-r1, be equivalent to python-single-r1_pkg_setup,

3. for python-r1, call python_export_best + python_wrapper_setup.

So in any of the eclasses, the function would result in Python being
set up properly for use in global scope.

The question is: how to name the function? We need a name that would be
easy to remember and not confusing at the same time. Especially, I'd
like to avoid wrongly suggesting that python-r1 needs it -- since it
usually doesn't :).

-- 
Best regards,
Michał Górny

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 966 bytes --]

                 reply	other threads:[~2013-10-19  8:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20131019104857.6cd953d0@gentoo.org \
    --to=mgorny@gentoo.org \
    --cc=gentoo-python@lists.gentoo.org \
    --cc=python@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