1 |
commit: 44735245306928519e35ea86cdf6cf3cdc87cbcf |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Mar 5 13:42:34 2013 +0000 |
4 |
Commit: Diego Elio Pettenò <flameeyes <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 5 13:42:34 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/flameeyes-tinderbox.git;a=commit;h=44735245 |
7 |
|
8 |
Add support for sub-slots. |
9 |
|
10 |
--- |
11 |
tinderbox.py | 2 +- |
12 |
1 files changed, 1 insertions(+), 1 deletions(-) |
13 |
|
14 |
diff --git a/tinderbox.py b/tinderbox.py |
15 |
index 3c4a37f..de1ecb4 100755 |
16 |
--- a/tinderbox.py |
17 |
+++ b/tinderbox.py |
18 |
@@ -90,7 +90,7 @@ for cp in portdb.cp_all(): |
19 |
# in the slot then drop it in order to avoid a slot |
20 |
# conflict. |
21 |
slot_atom = "%s:%s" % (portage.cpv_getkey(dep_pkg), |
22 |
- metadata["SLOT"]) |
23 |
+ metadata["SLOT"].split("/")[0]) |
24 |
best_visible_slot = portdb.xmatch("bestmatch-visible", |
25 |
slot_atom) |
26 |
if dep_pkg != best_visible_slot: |