pkgcheck.checks.visibility module¶
- class pkgcheck.checks.visibility.DependencyMoved(attr: str, source: str, target: str, **kwargs)[source]¶
Bases:
VersionResult
,Error
Ebuild depends on a dependency which was pkgmoved.
- property desc¶
Result description.
- name = 'DependencyMoved'¶
- class pkgcheck.checks.visibility.FakeConfigurable(pkg, profile)[source]¶
Bases:
object
Package wrapper binding profile data.
- configurable = True¶
- iuse¶
- use¶
- class pkgcheck.checks.visibility.NonexistentDeps(attr, nonexistent, **kwargs)[source]¶
Bases:
VersionResult
,Warning
No matches exist for a package dependency.
- property desc¶
Result description.
- name = 'NonexistentDeps'¶
- class pkgcheck.checks.visibility.NonsolvableDeps(attr, keyword, profile, deps, profile_status, profile_deprecated, num_profiles=None, **kwargs)[source]¶
Bases:
VersionResult
,AliasResult
,Error
No potential solution for a depset attribute.
- property desc¶
Result description.
- name = 'NonsolvableDeps'¶
- class pkgcheck.checks.visibility.NonsolvableDepsInDev(attr, keyword, profile, deps, profile_status, profile_deprecated, num_profiles=None, **kwargs)[source]¶
Bases:
NonsolvableDeps
No potential solution for dependency on dev profile.
- name = 'NonsolvableDepsInDev'¶
- class pkgcheck.checks.visibility.NonsolvableDepsInExp(attr, keyword, profile, deps, profile_status, profile_deprecated, num_profiles=None, **kwargs)[source]¶
Bases:
NonsolvableDeps
No potential solution for dependency on exp profile.
- name = 'NonsolvableDepsInExp'¶
- class pkgcheck.checks.visibility.NonsolvableDepsInStable(attr, keyword, profile, deps, profile_status, profile_deprecated, num_profiles=None, **kwargs)[source]¶
Bases:
NonsolvableDeps
No potential solution for dependency on stable profile.
- name = 'NonsolvableDepsInStable'¶
- class pkgcheck.checks.visibility.OldPackageName(new_name: str, **kwargs)[source]¶
Bases:
PackageResult
,Error
Package uses old name which is source of pkgmove.
Package is using
${CATEGORY}/${PN}
which is the source of a pkgmove. It should be updated to the destination (new name) from this repository or one of its master repositories.- property desc¶
Result description.
- name = 'OldPackageName'¶
- class pkgcheck.checks.visibility.OldPackageNameDep(attr: str, dep: str, new_name: str, **kwargs)[source]¶
Bases:
VersionResult
,Error
Package depends on old name which is source of pkgmove.
Package depends on
${CATEGORY}/${PN}
which is the source of a pkgmove. It should be updated to the destination (new name) from this repository or one of its master repositories.- property desc¶
Result description.
- name = 'OldPackageNameDep'¶
- class pkgcheck.checks.visibility.UncheckableDep(attr, **kwargs)[source]¶
Bases:
VersionResult
,Warning
Given dependency cannot be checked due to the number of transitive use deps in it.
- property desc¶
Result description.
- name = 'UncheckableDep'¶
- class pkgcheck.checks.visibility.VisibilityCheck(*args, profile_addon)[source]¶
Bases:
EvaluateDepSet
,QueryCache
,Check
Visibility dependency scans.
Check that at least one solution is possible for a pkg, checking all profiles (defined by arch.list) visibility modifiers per stable/unstable keyword.
- known_results = frozenset({<class 'pkgcheck.checks.visibility.DependencyMoved'>, <class 'pkgcheck.checks.visibility.NonexistentDeps'>, <class 'pkgcheck.checks.visibility.NonsolvableDepsInDev'>, <class 'pkgcheck.checks.visibility.NonsolvableDepsInExp'>, <class 'pkgcheck.checks.visibility.NonsolvableDepsInStable'>, <class 'pkgcheck.checks.visibility.OldPackageName'>, <class 'pkgcheck.checks.visibility.OldPackageNameDep'>, <class 'pkgcheck.checks.visibility.UncheckableDep'>, <class 'pkgcheck.checks.visibility.VisibleVcsPkg'>})¶
- required_addons = (<class 'pkgcheck.addons.profiles.ProfileAddon'>,)¶
- scope = <PackageScope desc='version' @0x7fc9bedc9290>¶