1 |
>>>>> On Mon, 30 Apr 2012, Krzysztof Pawlik wrote: |
2 |
|
3 |
> On 30/04/12 10:12, Ulrich Mueller wrote: |
4 |
>> If the eclass doesn't work with FEATURES="collision-protect" then it |
5 |
>> needs to be fixed. |
6 |
|
7 |
> Long story short: older eclass compiled Python byte code in live |
8 |
> file system, new one does it in src_install so .pyo/.pyc gets |
9 |
> properly recorded, |
10 |
|
11 |
That's a good change. |
12 |
|
13 |
> so the package *has to overwrite* files that are not owned by anyone |
14 |
> (no package owns them). |
15 |
|
16 |
The usual approach to this problem was to have some cleanup code in |
17 |
pkg_setup or pkg_preinst that would remove the old files. |
18 |
|
19 |
Ulrich |