Trigger the --include-dev suggestion for any keywords from dev profiles, even
authorZac Medico <zmedico@gentoo.org>
Sun, 16 Nov 2008 20:45:33 +0000 (20:45 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 16 Nov 2008 20:45:33 +0000 (20:45 -0000)
if those keywords also belong to stable profiles. (trunk r11970)

svn path=/main/branches/2.1.6/; revision=11971

bin/repoman

index 8922edcee4b072b2ed225ebf301e6fcddc92d47c..7abbcdb5f7ca8946f93dca550a5ae3cdba70c460 100755 (executable)
@@ -674,7 +674,7 @@ else:
 def dev_keywords(profiles):
        """
        Create a set of KEYWORDS values that exist in 'dev'
-       profiles and not in 'stable' profiles. These are used
+       profiles. These are used
        to trigger a message notifying the user when they might
        want to add the --include-dev option.
        """
@@ -688,7 +688,6 @@ def dev_keywords(profiles):
                        arch_set.add(arch)
 
        dev_keywords = type_arch_map.get('dev', set())
-       dev_keywords.difference_update(type_arch_map.get('stable', set()))
        dev_keywords.update(['~' + arch for arch in dev_keywords])
        return frozenset(dev_keywords)