NAME
Lintian::Collect::Group - Lintian interface to group data collection
SYNOPSIS
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";}}
DESCRIPTION
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).
CLASS METHODS
- Lintian::Collect::Group->new ($group)
-
Creates a new object to provide information about
$group.
- direct_dependencies (PROC)
-
If PROC is a part of the underlying processable group, this method returns a listref containing all the direct dependencies of PROC. If PROC is not a part of the group, this returns undef.
Note: Only strong dependencies (Pre-Depends and Depends) are considered.
Note: Self-dependencies (if any) are not included in the result.
- $ginfo->type
-
Return the type of this collect object (which is the string 'group').
- spelling_exceptions
-
Returns a hashref of words, which the spell checker should ignore. These words are generally based on the package names in the group to avoid false-positive "spelling error" when packages have "fun" names.
Example: Package alot-doc (#687464)
AUTHOR
Originally written by Niels Thykier <[email protected]> for Lintian.
SEE ALSO
lintian(1), Lintian::Collect::Binary(3), Lintian::Collect::Changes(3), Lintian::Collect::Source(3)