Add comment on how to add support for USE_EXPANDED variables
authorfuzzyray <fuzzyray@gentoo.org>
Wed, 26 Nov 2008 19:42:41 +0000 (19:42 -0000)
committerfuzzyray <fuzzyray@gentoo.org>
Wed, 26 Nov 2008 19:42:41 +0000 (19:42 -0000)
svn path=/; revision=523

trunk/src/equery/equery

index d5b5945d2daa4294a4baa65c197be417d6bbe5ba..b1bc730e5bcc36afd654d76bf7a8b48f94262983 100755 (executable)
@@ -529,6 +529,12 @@ class CmdDisplayUSEs(Command):
                except IOError:
                        print_warn(5, "Could not load USE flag descriptions from " + ppath(gentoolkit.settings["PORTDIR"] + "/profiles/use.desc"))
 
+               # TODO: Add USE_EXPANDED variables to usedesc hash -- Bug #238005
+               # Pseudo-code:
+               # for all files in gentoolkit.settings["PORTDIR"]+"/desc/*.desc
+               # variable name = <filename>_<field1>
+               # description = <field 2>
+
                # Load local USE flag descriptions
                try:
                        fd = open(gentoolkit.settings["PORTDIR"]+"/profiles/use.local.desc")