diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2023-12-10 22:08:21 +0200 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2023-12-10 22:08:21 +0200 |
commit | 4776408e959fdde32f05b9dc57141cdf890406c3 (patch) | |
tree | 61b30f58d7826d8d8caa980a1a04ef71b6004cf7 /src | |
parent | OutdatedProfilePackage: don't warn when version was removed not long ago (diff) | |
download | pkgcheck-4776408e959fdde32f05b9dc57141cdf890406c3.tar.gz pkgcheck-4776408e959fdde32f05b9dc57141cdf890406c3.tar.bz2 pkgcheck-4776408e959fdde32f05b9dc57141cdf890406c3.zip |
DeprecatedDep: fix mishandling of slotted deprecates
Resolves: https://github.com/pkgcore/pkgcheck/issues/642
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/pkgcheck/checks/metadata.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkgcheck/checks/metadata.py b/src/pkgcheck/checks/metadata.py index 3219036f..2aba62f0 100644 --- a/src/pkgcheck/checks/metadata.py +++ b/src/pkgcheck/checks/metadata.py @@ -942,7 +942,7 @@ class DependencyCheck(Check): if not atom.blocks and self.deprecated(atom): # verify all matching packages are deprecated pkgs = self.options.search_repo.match(atom.no_usedeps) - if all(self.deprecated(x.versioned_atom) for x in pkgs): + if all(map(self.deprecated, pkgs)): deprecated[attr].add(atom) if in_or_restriction and atom.slot_operator == "=": |