From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: src/pkgcheck/checks/, tests/checks/
Date: Sat, 26 Nov 2022 11:47:32 +0000 (UTC) [thread overview]
Message-ID: <1669316308.7938bcce6cf79addfd1c0b6e7bedee7a51b564e2.arthurzam@gentoo> (raw)
commit: 7938bcce6cf79addfd1c0b6e7bedee7a51b564e2
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 24 18:58:28 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Nov 24 18:58:28 2022 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=7938bcce
PythonCheck: remove obsolete pypy packages
Unlist the removed dev-python/pypy*-bin and virtual/pypy* packages
from PythonCheck, as well as the no-longer-relevant virtual/pypy*
exceptions.
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
src/pkgcheck/checks/python.py | 11 -----------
tests/checks/test_python.py | 6 ------
2 files changed, 17 deletions(-)
diff --git a/src/pkgcheck/checks/python.py b/src/pkgcheck/checks/python.py
index 5d6a8a1a..bb4825e2 100644
--- a/src/pkgcheck/checks/python.py
+++ b/src/pkgcheck/checks/python.py
@@ -22,14 +22,8 @@ INTERPRETERS = frozenset([
'dev-lang/python',
'dev-python/pypy',
'dev-python/pypy3',
- 'dev-python/pypy-bin',
- 'dev-python/pypy3-bin',
- 'virtual/pypy',
- 'virtual/pypy3',
])
-CHECK_EXCLUDE = frozenset(['virtual/pypy', 'virtual/pypy3'])
-
IUSE_PREFIX = 'python_targets_'
IUSE_PREFIX_S = 'python_single_target_'
@@ -439,11 +433,6 @@ class PythonCheck(Check):
return
if eclass is None:
- # virtual/pypy* need to be exempted as they serve as slot-matchers
- # for other packages
- if pkg.key in CHECK_EXCLUDE:
- return
-
# check whether we should be using one
highest_found = None
for attr in (x.lower() for x in pkg.eapi.dep_keys):
diff --git a/tests/checks/test_python.py b/tests/checks/test_python.py
index 411fff7f..992b7dce 100644
--- a/tests/checks/test_python.py
+++ b/tests/checks/test_python.py
@@ -105,12 +105,6 @@ class TestPythonCheck(misc.ReportTestCase):
self.assertReport(self.check, self.mk_pkg(RDEPEND='dev-python/pypy')),
python.MissingPythonEclass)
- # special exception: virtual/pypy
- self.assertNoReport(self.check, self.mk_pkg(cpv='virtual/pypy-4.1',
- RDEPEND='|| ( dev-python/pypy:0/41 dev-python/pypy-bin:0/41 )'))
- self.assertNoReport(self.check, self.mk_pkg(cpv='virtual/pypy3-4.1',
- RDEPEND='|| ( dev-python/pypy3:0/41 dev-python/pypy3-bin:0/41 )'))
-
def test_missing_eclass_pdepend(self):
self.assertNoReport(
self.check,
next reply other threads:[~2022-11-26 11:47 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-26 11:47 Arthur Zamarin [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-16 12:17 [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: src/pkgcheck/checks/, tests/checks/ Arthur Zamarin
2024-03-07 16:06 Arthur Zamarin
2023-07-15 8:52 Arthur Zamarin
2023-03-11 7:14 Arthur Zamarin
2023-03-05 17:13 Arthur Zamarin
2023-03-04 5:59 Arthur Zamarin
2023-01-21 9:46 Arthur Zamarin
2023-01-20 20:47 Arthur Zamarin
2022-11-26 11:47 Arthur Zamarin
2022-10-28 13:34 Arthur Zamarin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1669316308.7938bcce6cf79addfd1c0b6e7bedee7a51b564e2.arthurzam@gentoo \
--to=arthurzam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox