pkgcheck.checks.perl module

class pkgcheck.checks.perl.MismatchedPerlVersion(dist_version, normalized, **kwargs)[source]

Bases: VersionResult, Warning

A package’s normalized perl module version doesn’t match its $PV.

property desc

Result description.

name = 'MismatchedPerlVersion'
class pkgcheck.checks.perl.MissingVersionedVirtualPerlDependency(atom, **kwargs)[source]

Bases: VersionResult, Warning

Missing version restriction for virtual perl dependency.

The virtuals virtual/perl-* stand for packages that have releases both as part of dev-lang/perl and standalone in perl-core/*. Apart from rare special cases, if you require “any” version of such a virtual, this will always be fulfilled by dev-lang/perl.

property desc

Result description.

name = 'MissingVersionedVirtualPerlDependency'
class pkgcheck.checks.perl.PerlCheck(*args)[source]

Bases: OptionalCheck

Perl ebuild related checks.

feed(pkg)[source]

Handle functionality against the passed in item.

known_results = frozenset({<class 'pkgcheck.checks.perl.MismatchedPerlVersion'>, <class 'pkgcheck.checks.perl.MissingVersionedVirtualPerlDependency'>})
scope = <PackageScope desc='version' @0x7f6c6d509d90>