Paul Bredbury wrote:
ive changed built_with_use to call 'die' if it is unable to locate the USE file (aka the package is not installed)
-mike

If the package is not installed (taking into consideration
package.provided also), then built_with_use should return *False*.

How can a package be built_with_use anything if it's not installed?
You're saying that in this situation the answer is "unknown". I'm saying
that it's logically impossible for the answer to be True, therefore the
answer is False. There is no third option, because it's a Boolean
function.

Tell that to python. When you call a function that only returns True or False, it's also possible for it to raise an Exception. This is pretty close to what 'die' does. If an ebuild is calling built_with_use on a package that isn't installed, something is very wrong.

--
Andrew Gaffney                            http://dev.gentoo.org/~agaffney/
Gentoo Linux Developer                                   Installer Project
--
gentoo-portage-dev@gentoo.org mailing list

Reply via email to