From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B65DB158042 for ; Mon, 21 Oct 2024 17:41:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DEC1BE0980; Mon, 21 Oct 2024 17:41:25 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BEEB6E0980 for ; Mon, 21 Oct 2024 17:41:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C0BA1342FF1 for ; Mon, 21 Oct 2024 17:41:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2B5C51682 for ; Mon, 21 Oct 2024 17:41:23 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1729532476.817ba39b95c1598f59b49f5b599eb46b3fa074b9.arthurzam@gentoo> Subject: [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: testdata/repos/python/PythonCheck/PythonAnyMismatchedUseHasVersionCheck/, ... X-VCS-Repository: proj/pkgcore/pkgcheck X-VCS-Files: testdata/data/repos/python/PythonCheck/DistutilsNonPEP517Build/fix.patch testdata/repos/python/PythonCheck/DistutilsNonPEP517Build/DistutilsNonPEP517Build-0.ebuild testdata/repos/python/PythonCheck/PythonAnyMismatchedDepHasVersionCheck/PythonAnyMismatchedDepHasVersionCheck-0.ebuild testdata/repos/python/PythonCheck/PythonAnyMismatchedDepHasVersionCheck/PythonAnyMismatchedDepHasVersionCheck-1.ebuild testdata/repos/python/PythonCheck/PythonAnyMismatchedUseHasVersionCheck/PythonAnyMismatchedUseHasVersionCheck-0.ebuild testdata/repos/python/PythonCheck/PythonAnyMismatchedUseHasVersionCheck/PythonAnyMismatchedUseHasVersionCheck-1.ebuild testdata/repos/python/PythonCheck/PythonAnyMismatchedUseHasVersionCheck/PythonAnyMismatchedUseHasVersionCheck-2.ebuild testdata/repos/python/PythonCheck/PythonHasVersionMissingPythonUseDep/PythonHasVersionMissingPythonUseDep-0.ebuild testdata/repos/python/PythonCheck/PythonHasVersionUsage/PythonHasVersionUsage-0.ebuild testdata/repos/python/Py thonCheck/PythonHasVersionUsage/PythonHasVersionUsage-1.ebuild testdata/repos/python/PythonCheck/PythonMissingDeps/PythonMissingDeps-0.ebuild testdata/repos/python/PythonCheck/PythonMissingDeps/PythonMissingDeps-1.ebuild testdata/repos/python/PythonCheck/PythonMissingDeps/PythonMissingDeps-2.ebuild testdata/repos/python/PythonCheck/PythonMissingSCMDependency/PythonMissingSCMDependency-0.ebuild testdata/repos/python/dev-python/pypy3/pypy-7.3.17.ebuild testdata/repos/python/eclass/python-any-r1.eclass testdata/repos/python/eclass/python-r1.eclass testdata/repos/python/eclass/python-single-r1.eclass X-VCS-Directories: testdata/repos/python/PythonCheck/PythonAnyMismatchedDepHasVersionCheck/ testdata/repos/python/PythonCheck/PythonHasVersionUsage/ testdata/data/repos/python/PythonCheck/DistutilsNonPEP517Build/ testdata/repos/python/PythonCheck/PythonAnyMismatchedUseHasVersionCheck/ testdata/repos/python/PythonCheck/PythonHasVersionMissingPythonUseDep/ testdata/repos/python/dev-python/pypy3/ testdata/repos/python/PythonCheck/DistutilsNonPEP517Build/ testdata/repos/python/eclass/ testdata/repos/python/PythonCheck/PythonMissingSCMDependency/ testdata/repos/python/PythonCheck/PythonMissingDeps/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 817ba39b95c1598f59b49f5b599eb46b3fa074b9 X-VCS-Branch: master Date: Mon, 21 Oct 2024 17:41:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: af613ed2-fedc-4f45-9fa2-1703a177e680 X-Archives-Hash: 40a1a719c18596a82fae596477ae756f commit: 817ba39b95c1598f59b49f5b599eb46b3fa074b9 Author: Michał Górny gentoo org> AuthorDate: Mon Oct 21 15:24:33 2024 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Mon Oct 21 17:41:16 2024 +0000 URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=817ba39b testdata: Add pypy3 to PYTHON_COMPAT in test ebuilds Signed-off-by: Michał Górny gentoo.org> Signed-off-by: Arthur Zamarin gentoo.org> .../python/PythonCheck/DistutilsNonPEP517Build/fix.patch | 2 +- .../DistutilsNonPEP517Build-0.ebuild | 2 +- .../PythonAnyMismatchedDepHasVersionCheck-0.ebuild | 2 +- .../PythonAnyMismatchedDepHasVersionCheck-1.ebuild | 2 +- .../PythonAnyMismatchedUseHasVersionCheck-0.ebuild | 2 +- .../PythonAnyMismatchedUseHasVersionCheck-1.ebuild | 2 +- .../PythonAnyMismatchedUseHasVersionCheck-2.ebuild | 2 +- .../PythonHasVersionMissingPythonUseDep-0.ebuild | 2 +- .../PythonHasVersionUsage/PythonHasVersionUsage-0.ebuild | 2 +- .../PythonHasVersionUsage/PythonHasVersionUsage-1.ebuild | 2 +- .../PythonMissingDeps/PythonMissingDeps-0.ebuild | 2 +- .../PythonMissingDeps/PythonMissingDeps-1.ebuild | 2 +- .../PythonMissingDeps/PythonMissingDeps-2.ebuild | 2 +- .../PythonMissingSCMDependency-0.ebuild | 2 +- testdata/repos/python/dev-python/pypy3/pypy-7.3.17.ebuild | 6 ++++++ testdata/repos/python/eclass/python-any-r1.eclass | 13 ++++++++++--- testdata/repos/python/eclass/python-r1.eclass | 13 ++++++++++--- testdata/repos/python/eclass/python-single-r1.eclass | 13 ++++++++++--- 18 files changed, 50 insertions(+), 23 deletions(-) diff --git a/testdata/data/repos/python/PythonCheck/DistutilsNonPEP517Build/fix.patch b/testdata/data/repos/python/PythonCheck/DistutilsNonPEP517Build/fix.patch index 6ad28c31..d4e50d37 100644 --- a/testdata/data/repos/python/PythonCheck/DistutilsNonPEP517Build/fix.patch +++ b/testdata/data/repos/python/PythonCheck/DistutilsNonPEP517Build/fix.patch @@ -5,6 +5,6 @@ diff -Naur python/PythonCheck/DistutilsNonPEP517Build/DistutilsNonPEP517Build-0. EAPI=7 +DISTUTILS_USE_PEP517=setuptools - PYTHON_COMPAT=( python3_10 ) + PYTHON_COMPAT=( pypy3 python3_10 ) inherit distutils-r1 diff --git a/testdata/repos/python/PythonCheck/DistutilsNonPEP517Build/DistutilsNonPEP517Build-0.ebuild b/testdata/repos/python/PythonCheck/DistutilsNonPEP517Build/DistutilsNonPEP517Build-0.ebuild index 03ff2937..d2e833ec 100644 --- a/testdata/repos/python/PythonCheck/DistutilsNonPEP517Build/DistutilsNonPEP517Build-0.ebuild +++ b/testdata/repos/python/PythonCheck/DistutilsNonPEP517Build/DistutilsNonPEP517Build-0.ebuild @@ -1,6 +1,6 @@ EAPI=7 -PYTHON_COMPAT=( python3_10 ) +PYTHON_COMPAT=( pypy3 python3_10 ) inherit distutils-r1 diff --git a/testdata/repos/python/PythonCheck/PythonAnyMismatchedDepHasVersionCheck/PythonAnyMismatchedDepHasVersionCheck-0.ebuild b/testdata/repos/python/PythonCheck/PythonAnyMismatchedDepHasVersionCheck/PythonAnyMismatchedDepHasVersionCheck-0.ebuild index a70a4d3e..9a6a57ee 100644 --- a/testdata/repos/python/PythonCheck/PythonAnyMismatchedDepHasVersionCheck/PythonAnyMismatchedDepHasVersionCheck-0.ebuild +++ b/testdata/repos/python/PythonCheck/PythonAnyMismatchedDepHasVersionCheck/PythonAnyMismatchedDepHasVersionCheck-0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_10 ) +PYTHON_COMPAT=( pypy3 python3_10 ) inherit python-any-r1 diff --git a/testdata/repos/python/PythonCheck/PythonAnyMismatchedDepHasVersionCheck/PythonAnyMismatchedDepHasVersionCheck-1.ebuild b/testdata/repos/python/PythonCheck/PythonAnyMismatchedDepHasVersionCheck/PythonAnyMismatchedDepHasVersionCheck-1.ebuild index 2652cf8c..bd81efe2 100644 --- a/testdata/repos/python/PythonCheck/PythonAnyMismatchedDepHasVersionCheck/PythonAnyMismatchedDepHasVersionCheck-1.ebuild +++ b/testdata/repos/python/PythonCheck/PythonAnyMismatchedDepHasVersionCheck/PythonAnyMismatchedDepHasVersionCheck-1.ebuild @@ -3,7 +3,7 @@ EAPI=6 -PYTHON_COMPAT=( python3_10 ) +PYTHON_COMPAT=( pypy3 python3_10 ) inherit python-any-r1 diff --git a/testdata/repos/python/PythonCheck/PythonAnyMismatchedUseHasVersionCheck/PythonAnyMismatchedUseHasVersionCheck-0.ebuild b/testdata/repos/python/PythonCheck/PythonAnyMismatchedUseHasVersionCheck/PythonAnyMismatchedUseHasVersionCheck-0.ebuild index e1b1c707..3279e62b 100644 --- a/testdata/repos/python/PythonCheck/PythonAnyMismatchedUseHasVersionCheck/PythonAnyMismatchedUseHasVersionCheck-0.ebuild +++ b/testdata/repos/python/PythonCheck/PythonAnyMismatchedUseHasVersionCheck/PythonAnyMismatchedUseHasVersionCheck-0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_10 ) +PYTHON_COMPAT=( pypy3 python3_10 ) inherit python-any-r1 diff --git a/testdata/repos/python/PythonCheck/PythonAnyMismatchedUseHasVersionCheck/PythonAnyMismatchedUseHasVersionCheck-1.ebuild b/testdata/repos/python/PythonCheck/PythonAnyMismatchedUseHasVersionCheck/PythonAnyMismatchedUseHasVersionCheck-1.ebuild index 616bcd95..48c00f4d 100644 --- a/testdata/repos/python/PythonCheck/PythonAnyMismatchedUseHasVersionCheck/PythonAnyMismatchedUseHasVersionCheck-1.ebuild +++ b/testdata/repos/python/PythonCheck/PythonAnyMismatchedUseHasVersionCheck/PythonAnyMismatchedUseHasVersionCheck-1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_10 ) +PYTHON_COMPAT=( pypy3 python3_10 ) inherit python-any-r1 diff --git a/testdata/repos/python/PythonCheck/PythonAnyMismatchedUseHasVersionCheck/PythonAnyMismatchedUseHasVersionCheck-2.ebuild b/testdata/repos/python/PythonCheck/PythonAnyMismatchedUseHasVersionCheck/PythonAnyMismatchedUseHasVersionCheck-2.ebuild index 0f011b36..27e72e88 100644 --- a/testdata/repos/python/PythonCheck/PythonAnyMismatchedUseHasVersionCheck/PythonAnyMismatchedUseHasVersionCheck-2.ebuild +++ b/testdata/repos/python/PythonCheck/PythonAnyMismatchedUseHasVersionCheck/PythonAnyMismatchedUseHasVersionCheck-2.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_10 ) +PYTHON_COMPAT=( pypy3 python3_10 ) inherit python-any-r1 diff --git a/testdata/repos/python/PythonCheck/PythonHasVersionMissingPythonUseDep/PythonHasVersionMissingPythonUseDep-0.ebuild b/testdata/repos/python/PythonCheck/PythonHasVersionMissingPythonUseDep/PythonHasVersionMissingPythonUseDep-0.ebuild index 24ebb878..5e5ff7f3 100644 --- a/testdata/repos/python/PythonCheck/PythonHasVersionMissingPythonUseDep/PythonHasVersionMissingPythonUseDep-0.ebuild +++ b/testdata/repos/python/PythonCheck/PythonHasVersionMissingPythonUseDep/PythonHasVersionMissingPythonUseDep-0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_10 ) +PYTHON_COMPAT=( pypy3 python3_10 ) inherit python-any-r1 diff --git a/testdata/repos/python/PythonCheck/PythonHasVersionUsage/PythonHasVersionUsage-0.ebuild b/testdata/repos/python/PythonCheck/PythonHasVersionUsage/PythonHasVersionUsage-0.ebuild index face1460..02ef25e0 100644 --- a/testdata/repos/python/PythonCheck/PythonHasVersionUsage/PythonHasVersionUsage-0.ebuild +++ b/testdata/repos/python/PythonCheck/PythonHasVersionUsage/PythonHasVersionUsage-0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_10 ) +PYTHON_COMPAT=( pypy3 python3_10 ) inherit python-any-r1 diff --git a/testdata/repos/python/PythonCheck/PythonHasVersionUsage/PythonHasVersionUsage-1.ebuild b/testdata/repos/python/PythonCheck/PythonHasVersionUsage/PythonHasVersionUsage-1.ebuild index 240f5364..87ff6224 100644 --- a/testdata/repos/python/PythonCheck/PythonHasVersionUsage/PythonHasVersionUsage-1.ebuild +++ b/testdata/repos/python/PythonCheck/PythonHasVersionUsage/PythonHasVersionUsage-1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_10 ) +PYTHON_COMPAT=( pypy3 python3_10 ) inherit python-any-r1 diff --git a/testdata/repos/python/PythonCheck/PythonMissingDeps/PythonMissingDeps-0.ebuild b/testdata/repos/python/PythonCheck/PythonMissingDeps/PythonMissingDeps-0.ebuild index 236182e9..1b5b1fd4 100644 --- a/testdata/repos/python/PythonCheck/PythonMissingDeps/PythonMissingDeps-0.ebuild +++ b/testdata/repos/python/PythonCheck/PythonMissingDeps/PythonMissingDeps-0.ebuild @@ -1,5 +1,5 @@ EAPI=7 -PYTHON_COMPAT=( python3_9 ) +PYTHON_COMPAT=( pypy3 python3_9 ) inherit python-r1 diff --git a/testdata/repos/python/PythonCheck/PythonMissingDeps/PythonMissingDeps-1.ebuild b/testdata/repos/python/PythonCheck/PythonMissingDeps/PythonMissingDeps-1.ebuild index 5c2d85fb..191d4974 100644 --- a/testdata/repos/python/PythonCheck/PythonMissingDeps/PythonMissingDeps-1.ebuild +++ b/testdata/repos/python/PythonCheck/PythonMissingDeps/PythonMissingDeps-1.ebuild @@ -2,7 +2,7 @@ EAPI=8 DISTUTILS_OPTIONAL=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_10 ) +PYTHON_COMPAT=( pypy3 python3_10 ) inherit distutils-r1 diff --git a/testdata/repos/python/PythonCheck/PythonMissingDeps/PythonMissingDeps-2.ebuild b/testdata/repos/python/PythonCheck/PythonMissingDeps/PythonMissingDeps-2.ebuild index 73d59a27..60c7b3df 100644 --- a/testdata/repos/python/PythonCheck/PythonMissingDeps/PythonMissingDeps-2.ebuild +++ b/testdata/repos/python/PythonCheck/PythonMissingDeps/PythonMissingDeps-2.ebuild @@ -2,7 +2,7 @@ EAPI=8 DISTUTILS_OPTIONAL=1 DISTUTILS_USE_PEP517=no -PYTHON_COMPAT=( python3_10 ) +PYTHON_COMPAT=( pypy3 python3_10 ) inherit distutils-r1 diff --git a/testdata/repos/python/PythonCheck/PythonMissingSCMDependency/PythonMissingSCMDependency-0.ebuild b/testdata/repos/python/PythonCheck/PythonMissingSCMDependency/PythonMissingSCMDependency-0.ebuild index 79a8a8df..f793e70e 100644 --- a/testdata/repos/python/PythonCheck/PythonMissingSCMDependency/PythonMissingSCMDependency-0.ebuild +++ b/testdata/repos/python/PythonCheck/PythonMissingSCMDependency/PythonMissingSCMDependency-0.ebuild @@ -1,7 +1,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_10 ) +PYTHON_COMPAT=( pypy3 python3_10 ) inherit distutils-r1 diff --git a/testdata/repos/python/dev-python/pypy3/pypy-7.3.17.ebuild b/testdata/repos/python/dev-python/pypy3/pypy-7.3.17.ebuild new file mode 100644 index 00000000..5c7e964e --- /dev/null +++ b/testdata/repos/python/dev-python/pypy3/pypy-7.3.17.ebuild @@ -0,0 +1,6 @@ +EAPI=8 + +DESCRIPTION="Stub ebuild for pypy3 interpreter" +HOMEPAGE="https://github.com/pkgcore/pkgcheck" +LICENSE="BSD" +SLOT="0/pypy310" diff --git a/testdata/repos/python/eclass/python-any-r1.eclass b/testdata/repos/python/eclass/python-any-r1.eclass index 8cfc2f5c..68c9774c 100644 --- a/testdata/repos/python/eclass/python-any-r1.eclass +++ b/testdata/repos/python/eclass/python-any-r1.eclass @@ -14,9 +14,16 @@ _python_set_impls() { local i slot PYTHON_DEPS="|| (" for i in "${PYTHON_COMPAT[@]}"; do - slot=${i#python} - slot=${slot/_/.} - PYTHON_DEPS+=" dev-lang/python:${slot}" + case ${i} in + python*) + slot=${i#python} + slot=${slot/_/.} + PYTHON_DEPS+=" dev-lang/python:${slot}" + ;; + pypy3) + PYTHON_DEPS+=" dev-python/pypy3:=" + ;; + esac done PYTHON_DEPS+=" )" PYTHON_REQUIRED_USE='I-DO-NOT-EXIST-IN-PYTHON-ANY-R1' diff --git a/testdata/repos/python/eclass/python-r1.eclass b/testdata/repos/python/eclass/python-r1.eclass index 9646b3a3..e33047ca 100644 --- a/testdata/repos/python/eclass/python-r1.eclass +++ b/testdata/repos/python/eclass/python-r1.eclass @@ -14,10 +14,17 @@ _python_set_impls() { local i slot local -a use for i in "${PYTHON_COMPAT[@]}"; do - slot=${i#python} - slot=${slot/_/.} use+=( "python_targets_${i}" ) - PYTHON_DEPS+=" python_targets_${i}? ( dev-lang/python:${slot} )" + case ${i} in + python*) + slot=${i#python} + slot=${slot/_/.} + PYTHON_DEPS+=" python_targets_${i}? ( dev-lang/python:${slot} )" + ;; + pypy3) + PYTHON_DEPS+=" python_targets_${i}? ( dev-python/pypy3:= )" + ;; + esac done IUSE+=" ${use[@]}" PYTHON_REQUIRED_USE="|| ( ${use[@]} )" diff --git a/testdata/repos/python/eclass/python-single-r1.eclass b/testdata/repos/python/eclass/python-single-r1.eclass index e16b8a93..a7049ac0 100644 --- a/testdata/repos/python/eclass/python-single-r1.eclass +++ b/testdata/repos/python/eclass/python-single-r1.eclass @@ -14,10 +14,17 @@ _python_set_impls() { local i slot local -a use use_deps for i in "${PYTHON_COMPAT[@]}"; do - slot=${i#python} - slot=${slot/_/.} use+=( "python_single_target_${i}" ) - PYTHON_DEPS+=" python_single_target_${i}? ( dev-lang/python:${slot} )" + case ${i} in + python*) + slot=${i#python} + slot=${slot/_/.} + PYTHON_DEPS+=" python_single_target_${i}? ( dev-lang/python:${slot} )" + ;; + pypy3) + PYTHON_DEPS+=" python_single_target_${i}? ( dev-python/pypy3:= )" + ;; + esac done IUSE+=" ${use[@]}" PYTHON_REQUIRED_USE="^^ ( ${use[@]} )"