aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-10-21 19:02:41 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2024-10-21 20:41:16 +0300
commitc32c3d482fde2bc6df8726b7111edf00670b6b0e (patch)
treecc0ac24af2348b6b9cf7e9e78efbbcd69ed1a7c9 /src
parenttestdata: Add pypy3 to PYTHON_COMPAT in test ebuilds (diff)
downloadpkgcheck-master.tar.gz
pkgcheck-master.tar.bz2
pkgcheck-master.zip
python: Support dev-lang/pypy packageHEADmaster
Signed-off-by: Michał Górny <mgorny@gentoo.org> Closes: https://github.com/pkgcore/pkgcheck/pull/708 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'src')
-rw-r--r--src/pkgcheck/checks/python.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkgcheck/checks/python.py b/src/pkgcheck/checks/python.py
index 2c46885a..bacbdb5a 100644
--- a/src/pkgcheck/checks/python.py
+++ b/src/pkgcheck/checks/python.py
@@ -48,7 +48,7 @@ def get_python_eclass(pkg):
def is_python_interpreter(pkg):
- if pkg.key == "dev-lang/python":
+ if pkg.key in ("dev-lang/pypy", "dev-lang/python"):
# ignore python:2.7 deps since they are being phased out from eclass
# support
return pkg.slot is None or not pkg.slot.startswith("2")