I currently do not support “—optional=all” in
sage-on-gentoo. It is indeed futile.
Let’s be clear, I could ship a list of possible
optional packages supported in sage-on-gentoo
but any checking of package availability would
have to go through the the distribution package
manager.
Effectively each distro would need to bring in their
plugin. Another thing, currently “—optional=all” check
that not only it is installed but that the version
is the latest one available to sage.
For many binary distro if you are up to date such check
is superfluous (you may not have the current sage version
but that’s what you’ll get from your package manager).
And we don’t even cover the fact that some options may
just be installed system wide (by package manager or
otherwise) and would just work. Apart from key proprietary
software (mathematica, magma…) that case is not covered
by the current framework either. If it doesn’t exist
in the sage sandbox, it doesn’t exist as far as the testing
framework is concerned. And actually that notion of control
and confinement that has to be maintained is probably getting
in the way of thinking of a more general solution.
From sage-on-gentoo point of view having “—optional==all”
working would be nice for the optional packages I support.
But I don’t explicitly support that many anyway. Not sure
about the other packagers.
François