summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-05-12 23:14:19 +0000
committerZac Medico <zmedico@gentoo.org>2007-05-12 23:14:19 +0000
commit224879708b3c85952bc6912fce7edcbaf553deb1 (patch)
treeed6b7ff2f6e913fadce839a32d62097646977832 /pym
parent44be2d7975202cf72499ce0db22a955c3e4d6b35 (diff)
downloadportage-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
Diffstat (limited to 'pym')
-rw-r--r--pym/emerge/__init__.py11
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]: