pkgcheck.checks.overlays module

class pkgcheck.checks.overlays.MasterPackageClobbered(repository: str, **kwarg)[source]

Bases: PackageResult, Error

Package in master is clobbered by package in overlay.

A repository (such as ::guru) that is supposed to only provide additional packages to its masters (::gentoo), provides a package that is found in its master, therefore potentially clobbering it.

property desc

Result description.

name = 'MasterPackageClobbered'
class pkgcheck.checks.overlays.MasterPackageClobberedCheck(*args)[source]

Bases: OverlayRepoCheck, OptionalCheck

Detect clobbering packages from master.

feed(pkgset)[source]

Handle functionality against the passed in item.

known_results = frozenset({<class 'pkgcheck.checks.overlays.MasterPackageClobbered'>})
scope = <PackageScope desc='package' @0x7fb113484b90>
class pkgcheck.checks.overlays.UnusedInMastersCheck(*args, use_addon)[source]

Bases: MirrorsCheck, OverlayRepoCheck, RepoCheck, OptionalCheck

Check for various metadata that may be removed from master repos.

feed(pkg)[source]

Handle functionality against the passed in item.

known_results = frozenset({<class 'pkgcheck.checks.overlays.UnusedInMastersEclasses'>, <class 'pkgcheck.checks.overlays.UnusedInMastersGlobalUse'>, <class 'pkgcheck.checks.overlays.UnusedInMastersLicenses'>, <class 'pkgcheck.checks.overlays.UnusedInMastersMirrors'>})
scope = <PackageScope desc='repo' @0x7fb113521d30>
start()[source]

Do startup here.

class pkgcheck.checks.overlays.UnusedInMastersEclasses(eclasses, **kwargs)[source]

Bases: VersionResult, Warning

Eclasses detected that are unused in the master repo(s).

In other words, they’re likely to be removed so should be copied to the overlay.

property desc

Result description.

name = 'UnusedInMastersEclasses'
class pkgcheck.checks.overlays.UnusedInMastersGlobalUse(flags, **kwargs)[source]

Bases: VersionResult, Warning

Global USE flags detected that are unused in the master repo(s).

In other words, they’re likely to be removed so should be copied to the overlay.

property desc

Result description.

name = 'UnusedInMastersGlobalUse'
class pkgcheck.checks.overlays.UnusedInMastersLicenses(licenses, **kwargs)[source]

Bases: VersionResult, Warning

Licenses detected that are unused in the master repo(s).

In other words, they’re likely to be removed so should be copied to the overlay.

property desc

Result description.

name = 'UnusedInMastersLicenses'
class pkgcheck.checks.overlays.UnusedInMastersMirrors(mirrors, **kwargs)[source]

Bases: VersionResult, Warning

Mirrors detected that are unused in the master repo(s).

In other words, they’re likely to be removed so should be copied to the overlay.

property desc

Result description.

name = 'UnusedInMastersMirrors'