From 224879708b3c85952bc6912fce7edcbaf553deb1 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 12 May 2007 23:14:19 +0000 Subject: Add TODO note about support for blocks within slots. Thanks to Brian Harring for reporting. svn path=/main/trunk/; revision=6524 --- pym/emerge/__init__.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'pym') diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py index 4d3f32e76..e6d2d8236 100644 --- a/pym/emerge/__init__.py +++ b/pym/emerge/__init__.py @@ -1915,10 +1915,10 @@ class depgraph: for cpv in blocked_initial: slot_atom = blocked_slots_initial[cpv] if slot_atom == pslot_atom: - # The parent blocks an initial package in the same - # slot as itself. The merge/nomerge status of neither - # node matters. In any case, this particular block is - # automatically resolved. + # TODO: Support blocks within slots in cases where it + # might make sense. For example, a new version might + # require that the old version be uninstalled at build + # time. continue if parent_static and \ slot_atom not in modified_slots[myroot]: @@ -1942,8 +1942,7 @@ class depgraph: for cpv in blocked_final: slot_atom = blocked_slots_final[cpv] if slot_atom == pslot_atom: - # The parent blocks itself, so the merge order does not - # need to be enforced. + # TODO: Support blocks within slots. continue if parent_static and \ slot_atom not in modified_slots[myroot]: -- cgit v1.2.3-1-g7c22