1 |
On Wed, 21 Nov 2012 10:30:29 -0500 |
2 |
Ian Stakenvicius <axs@g.o> wrote: |
3 |
|
4 |
> -----BEGIN PGP SIGNED MESSAGE----- |
5 |
> Hash: SHA256 |
6 |
> |
7 |
> On 21/11/12 10:17 AM, Gilles Dartiguelongue wrote: |
8 |
> > Le mercredi 21 novembre 2012 à 08:54 -0500, Ian Stakenvicius a |
9 |
> > écrit : |
10 |
> >> On 21/11/12 04:43 AM, Michał Górny wrote: |
11 |
> >>> Moved: python_export, getters, python_domodule, python_doscript |
12 |
> >>> and the necessary internal functions. No global-scope |
13 |
> >>> variables, no phase functions. [ Snip! ] |
14 |
> >> |
15 |
> >> So remind me again, in 10 words or less, why these shouldn't all |
16 |
> >> stay in python-r1.eclass? ie, what use case do we have for |
17 |
> >> using python-utils-r1 but not python-r1 (or vice-versa, depending |
18 |
> >> on which one inherits the other)? |
19 |
> > |
20 |
> > From "[gentoo-dev] python-r1.eclass: the masterplan (dirty RFC)" |
21 |
> > email: |
22 |
> > |
23 |
> > Le lundi 12 novembre 2012 à 15:43 +0100, Michał Górny a écrit : |
24 |
> >> 1) splitting common functions into python-utils-r1. |
25 |
> >> |
26 |
> >> The python-utils-r1 eclass would provide means to work with |
27 |
> >> specific Python packages like portage. Unlike python-r1, it would |
28 |
> >> not export IUSE or require any specific USE flags. |
29 |
> >> |
30 |
> >> I'm not insisting on this nor giving it a very high priority. It |
31 |
> >> is a straightforward change since python-r1 will inherit the new |
32 |
> >> eclass anyway. |
33 |
> > |
34 |
> > |
35 |
> |
36 |
> |
37 |
> Ahh ok, so only very specific tools for very specific use cases. |
38 |
|
39 |
You could say it's an algo like this: |
40 |
|
41 |
1) if you want phase functions for distutils & all other automagic, |
42 |
use distutils-r1; |
43 |
|
44 |
2) if you don't want phase functions but want PYTHON_TARGETS and other |
45 |
metadata stuff, use python-r1; |
46 |
|
47 |
3) if you don't want phase functions nor metadata, just some random |
48 |
potentially useful functions, use python-utils-r1. |
49 |
|
50 |
-- |
51 |
Best regards, |
52 |
Michał Górny |