1 |
Ciaran McCreesh kirjoitti: |
2 |
> On Wed, 12 Dec 2007 15:08:36 +0100 |
3 |
> "Santiago M. Mola" <coldwind@g.o> wrote: |
4 |
>> Would it be possible to have eclass/eapiBLAH/foo.eclass? |
5 |
> |
6 |
> No. Not even with an EAPI change. This is one of the deficiencies in |
7 |
> the way EAPI was designed -- an EAPI cannot change the behaviour of |
8 |
> inherit, nor can it introduce new global-scope functions. |
9 |
> |
10 |
|
11 |
Actually adding new global scope functions is possible with the help of |
12 |
base/profile.bashrc . We can use that file to add stubs so that sourcing |
13 |
the ebuild still works. The only restriction is that the new function |
14 |
can't be used to evaluate the value of EAPI. |
15 |
|
16 |
Regards, |
17 |
Petteri |