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

Lintian::Processable::Installable::Class - Lintian interface to binary package data collection

    my ($name, $type, $dir) = ('foobar', 'binary', '/path/to/lab-entry');
    my $collect = Lintian::Processable::Installable::Class->new($name);

Lintian::Processable::Installable::Class provides an interface to package data for binary packages. It implements data collection methods specific to binary packages.

This module is in its infancy. Most of Lintian still reads all data from files in the laboratory whenever that data is needed and generates that data via collect scripts. The goal is to eventually access all data about binary packages via this module so that the module can cache data where appropriate and possibly retire collect scripts in favor of caching that data in memory.

Native heuristics are only available in source packages.

Returns a truth value if the package is the given TYPE of special package. TYPE can be one of "transitional", "debug" or "any-meta". If omitted it defaults to "any-meta". The semantics for these values are:
The package is (probably) a transitional package (e.g. it is probably empty, just depend on stuff will eventually disappear.)

Guessed from package description.

This package is (probably) some kind of meta or task package. A meta package is usually empty and just depend on stuff. It will also return a truth value for "tasks" (i.e. tasksel "tasks").

A transitional package will also match this.

Guessed from package description, section or package name.

The package is (probably) a package containing debug symbols.

Guessed from the package name.

The package is (probably) a package generated automatically (e.g. a dbgsym package)

Guessed from the "Auto-Built-Package" field.

Originally written by Frank Lichtenheld <djpig@debian.org> for Lintian. Amended by Felix Lechner <felix.lechner@lease-up.com> for Lintian.

lintian(1)

2020-11-27 Lintian v2.104.0