Lintian::Collect::Group(3) | Debian Package Checker | Lintian::Collect::Group(3) |
Lintian::Collect::Group - Lintian interface to group data collection
my $group = Lintian::ProcessableGroup->new ('lintian_2.5.0_i386.changes'); my $ginfo = Lintian::Collect::Group->new ($group); foreach my $bin ($group->get_binary_processables) { my $pkg_name = $bin->pkg_name; foreach my $dirdep ($ginfo->direct_dependencies ($bin)) { print "$pkg_name (pre-)depends on $dirdep (which is also in this group)\n"; } }
Lintian::Collect::Group is a "group" variant of the Lintian::Collect modules. It attempts to expose a similar interface as these and provide useful information about the processable group (or members of it).
Note: Only strong dependencies (Pre-Depends and Depends) are considered.
Note: Self-dependencies (if any) are not included in the result.
Example: Package alot-doc (#687464)
Originally written by Niels Thykier <niels@thykier.net> for Lintian.
lintian(1), Lintian::Collect::Binary(3), Lintian::Collect::Changes(3), Lintian::Collect::Source(3)
2019-05-26 | Lintian v2.15.0 |