public inbox for gentoo-python@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-python] Providing a common replacement for python_export_best & python*_pkg_setup
@ 2013-10-19  8:48 Michał Górny
  0 siblings, 0 replies; only message in thread
From: Michał Górny @ 2013-10-19  8:48 UTC (permalink / raw
  To: gentoo-python; +Cc: python

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-10-19  8:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-19  8:48 [gentoo-python] Providing a common replacement for python_export_best & python*_pkg_setup 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