DOKK / manpages / debian 10 / lintian / Lintian::Processable::Package.3.en
Lintian::Processable::Package(3) Debian Package Checker Lintian::Processable::Package(3)

Lintian::Processable::Package -- An object that Lintian can process

 use Lintian::Processable::Package;
 
 my $proc = Lintian::Processable::Package->new ('lintian_2.5.0_all.deb');
 my $pkg_name = $proc->pkg_name;
 my $pkg_version = $proc->pkg_version;
 # etc.

Instances of this perl class are objects that Lintian can process (e.g. deb files). Multiple objects can then be combined into groups, which Lintian will process together.

Creates a processable from FILE. If TYPE is given, the FILE is assumed to be that TYPE otherwise the type is determined by the file extension.

TYPE is one of "binary" (.deb), "udeb" (.udeb), "source" (.dsc) or "changes" (.changes).

Originally written by Niels Thykier <niels@thykier.net> for Lintian.

lintian(1)

Lintian::Processable

Lintian::ProcessableGroup

2019-05-26 Lintian v2.15.0