1 |
On 06/26/11 21:48, Thomas Sachau wrote: |
2 |
> I am thinking about a solution for those similar to current ruby idea and already implemented for |
3 |
> cross-compilation in my multilib-portage branch of portage. The very short version: |
4 |
> |
5 |
> Set the needed details in the ebuilds, where needed, in case of revdep-rebuild, either adjust the |
6 |
> SLOT var for each change requiring a rebuild of depending packages or using some new var, e.g. |
7 |
> API_SLOT for this. Ebuilds depending on packages like python or perl should define the range of |
8 |
> versions they support. |
9 |
> |
10 |
> Now portage generates a (use_expanded) list of USE flags for depending packages, e.g. for a package |
11 |
> depending on python-2.6 and 2.7 it adds something like PYTHON_DEPEND="pyhon26 python27" to the list |
12 |
> of USE flags. If there is only one dependency installed (like perl or changing libs), this could be |
13 |
> a hidden USE flag. |
14 |
> |
15 |
> When the dependency is now updated, the USE flags will change, so in case of portage, a --newuse |
16 |
> will catch those changes and shows those packages in the list of packages, that need to be emerged |
17 |
> again. |
18 |
> |
19 |
> In case of slotted dependencies (like python, ruby or php), this would also allow the user to define |
20 |
> per package, if he wants support for one or more slots of e.g. python. |
21 |
> |
22 |
> |
23 |
|
24 |
This sounds pretty good on the surface... the devil as always is in the |
25 |
details, and I'll have to have a look. I take it though, this would be |
26 |
exclusively tackling the domains of Python and Perl modules? Or does it |
27 |
also tackle ABI breakage of other packages? |
28 |
|
29 |
Sounds like the SLOT variable could get quite unwieldy where several |
30 |
SLOT-ed packages contribute to a package. |
31 |
-- |
32 |
Stuart Longland (aka Redhatter, VK4MSL) .'''. |
33 |
Gentoo Linux/MIPS Cobalt and Docs Developer '.'` : |
34 |
. . . . . . . . . . . . . . . . . . . . . . .'.' |
35 |
http://dev.gentoo.org/~redhatter :.' |
36 |
|
37 |
I haven't lost my mind... |
38 |
...it's backed up on a tape somewhere. |