[gentoo-portage-dev] More general interface to use flags

2007-11-02 Thread Marijn Schouten (hkBst)
Hi list, the current interface to use flags, useq, usev, use_with, use_enable, as defined in /usr/lib/portage/bin/ebuild.sh lacks generality. The common thing is testing a use flag and possibly echoing a string, but there is no function that implements this common behaviour. I propose that we add

[gentoo-portage-dev] More general interface to use flags

2007-11-02 Thread Marijn Schouten (hkBst)
Hi list, the current interface to use flags, useq, usev, use_with, use_enable, as defined in /usr/lib/portage/bin/ebuild.sh lacks generality. The common thing is testing a use flag and possibly echoing a string, but there is no function that implements this common behaviour. I propose that we add