1 |
Author: zmedico |
2 |
Date: 2008-05-09 02:14:38 +0000 (Fri, 09 May 2008) |
3 |
New Revision: 10256 |
4 |
|
5 |
Modified: |
6 |
main/trunk/pym/_emerge/__init__.py |
7 |
Log: |
8 |
Make the fix for bug #220341 better by checking all selected packages for |
9 |
matching cpv rather than just the last one. |
10 |
|
11 |
|
12 |
Modified: main/trunk/pym/_emerge/__init__.py |
13 |
=================================================================== |
14 |
--- main/trunk/pym/_emerge/__init__.py 2008-05-09 01:49:28 UTC (rev 10255) |
15 |
+++ main/trunk/pym/_emerge/__init__.py 2008-05-09 02:14:38 UTC (rev 10256) |
16 |
@@ -2940,9 +2940,11 @@ |
17 |
# Therefore, assume that such SLOT dependencies are already |
18 |
# satisfied rather than forcing a rebuild. |
19 |
if installed and not cpv_list and matched_packages \ |
20 |
- and vardb.cpv_exists(matched_packages[-1].cpv) and \ |
21 |
- portage.dep.dep_getslot(atom): |
22 |
- cpv_list = [matched_packages[-1].cpv] |
23 |
+ and portage.dep.dep_getslot(atom): |
24 |
+ for pkg in matched_packages: |
25 |
+ if vardb.cpv_exists(pkg.cpv): |
26 |
+ cpv_list = [pkg.cpv] |
27 |
+ break |
28 |
|
29 |
if not cpv_list: |
30 |
continue |
31 |
|
32 |
-- |
33 |
gentoo-commits@l.g.o mailing list |