"D. Ben Knoble" <[email protected]> writes:
Hm. Portage disagrees:
$ python3
import portage
import portage._sets
conf = portage._sets.load_default_config(portage.settings,
portage.db[portage.root])
world = conf.getSetAtoms('world')
From exploring the "world" set object, it's _exactly_ @selected
U
@system U @profile, without any dependencies!
Hm, yes, if we examine
/usr/share/portage/config/sets/portage.conf, it indeed contains:
[world]
class = portage.sets.base.DummyPackageSet
packages = @profile @selected @system
So my suggested wording was probably me misunderstanding what Eli
was saying.
Effectively, then, it seems to me that dependencies are (to use
set notation):
@installed \ @world
which dovetails with the `--depclean` option to emerge(1) that Eli
quoted upthread:
Depclean works by creating the full dependency tree from the
@world
set, then comparing it to installed packages. Packages
installed, but
not part of the dependency tree, will be uninstalled by
depclean.
Although the `--ignore-world` option muddies the waters a bit:
Ignore the @world package set and its dependencies.
In any case, is there any reason we can't just remove the "That is
to say" sentence?
Meanwhile, the wiki recommendations should probably be altered
(_e.g._, to drop -O from the emerge version).
i'm happy to edit the 'Package sets' page to implement whatever
decisions are made about changes. :-)
Alexis.