1 |
On Tuesday 18 October 2005 16:49, Zac Medico wrote: |
2 |
> http://bugs.gentoo.org/show_bug.cgi?id=48531 |
3 |
> |
4 |
> This simple patch automatically bumps portage to the top of the merge list. |
5 |
> I've always wanted this feature and it is a dependency of bug 108262. |
6 |
> Feedback please. :) |
7 |
|
8 |
No good. ;) |
9 |
|
10 |
What if portage's dependencies aren't satisfied? Something like the below |
11 |
(possibly combined with the pprovided stuff) would be better... |
12 |
|
13 |
--- emerge (revision 2138) |
14 |
+++ emerge (working copy) |
15 |
@@ -875,8 +875,15 @@ |
16 |
mynewlines.remove(atom) |
17 |
break |
18 |
|
19 |
- return mynewlines |
20 |
+ mynewlist = [] |
21 |
+ for atom in mynewlines: |
22 |
+ if portage.dep_getkey(atom) == "sys-apps/portage": |
23 |
+ mynewlist.insert(0, atom) |
24 |
+ else: |
25 |
+ mynewlist.append(atom) |
26 |
|
27 |
+ return mynewlist |
28 |
+ |
29 |
def genericdict(mylist): |
30 |
mynewdict={} |
31 |
for x in mylist: |
32 |
-- |
33 |
gentoo-portage-dev@g.o mailing list |