Ok, so googling found lots of interesting things to read; some deprecated
some new.

So looking more deeply into some of the eclasses [1], it helps me to examine
different ebuilds an eclass is inherited into; then specifically how
those eclass constructs are used, by subsequently looking into a specific
ebuild.


Evidently, I'm not alone in this adventure as I have read lots of stuff
about folks not choosing the best eclass to use for a specific task, not
using a given eclass correctly and new (eclass) features that should be used
which have been added to an existing eclass or as part of a new eclass.
Surely this can be very dynamic, but, I'm mostly hacking at relatively
straightforward ebuilds, so the existing semantics are probably fine for me
in most cases, no bleeding edges here.


So for a given eclass, how to I find the list of all ebuilds that use
that eclass I'm interested in? Is my only option a brute force search
of the "inherit" inside every ebuild?  What if I only want to look at
an eclass, like systemd, limited to a specific category of ebuilds, for
example sys-cluster; what is the best tool/script to search for a specific
eclass limited to a single category?


James


[1] https://devmanual.gentoo.org/eclass-reference/index.html





Reply via email to