diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-05-12 23:14:19 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-05-12 23:14:19 +0000 |
commit | 224879708b3c85952bc6912fce7edcbaf553deb1 (patch) | |
tree | ed6b7ff2f6e913fadce839a32d62097646977832 | |
parent | 44be2d7975202cf72499ce0db22a955c3e4d6b35 (diff) | |
download | portage-224879708b3c85952bc6912fce7edcbaf553deb1.tar.gz portage-224879708b3c85952bc6912fce7edcbaf553deb1.tar.bz2 portage-224879708b3c85952bc6912fce7edcbaf553deb1.zip |
Add TODO note about support for blocks within slots. Thanks to Brian Harring for reporting.
svn path=/main/trunk/; revision=6524
-rw-r--r-- | pym/emerge/__init__.py | 11 |
1 files changed, 5 insertions, 6 deletions
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]: |