diff options
| author | John Turner <jturner.usa@gmail.com> | 2024-02-13 14:31:01 -0500 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2024-02-16 20:12:49 +0000 |
| commit | c0300517671076db453204c796637e206bf977e5 (patch) | |
| tree | cdcba2e4019cdf1758b5e1b311120c5fe4392bdd /.github | |
| parent | 78464ec40bad9a0f824b063506f58296cc3ed9f3 (diff) | |
| download | gentoolkit-c0300517671076db453204c796637e206bf977e5.tar.gz | |
dependencies.py: unify get_*depend methods
Instead of having separate functions for each DEPEND kind, the unified
method returns a dict with all of the packages *DEPEND values inside
of it. The dict can be indexed with a string or a field of the
DependencyKind enum.
This will be espeically useful for a future change that adds the
ability to filter out specific DEPEND kinds from the query.
The Dependencies class did not search IDEPEND dependencies, the
unified method searches all dependency kinds defined in the
DependencyKind enum, which includes IDEPEND!
Signed-off-by: John Turner <jturner.usa@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions
