public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: testdata/repos/python/eclass/
@ 2024-10-21 17:41 Arthur Zamarin
  0 siblings, 0 replies; only message in thread
From: Arthur Zamarin @ 2024-10-21 17:41 UTC (permalink / raw
  To: gentoo-commits

commit:     8b5cdc0c1e85aab171e843c11cfb3b5ce1bb93d9
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 21 15:31:46 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Oct 21 17:41:13 2024 +0000
URL:        https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=8b5cdc0c

testdata: Use a more realistic python-any-r1 implementation

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 testdata/repos/python/eclass/python-any-r1.eclass | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/testdata/repos/python/eclass/python-any-r1.eclass b/testdata/repos/python/eclass/python-any-r1.eclass
index 1066a5ad..8cfc2f5c 100644
--- a/testdata/repos/python/eclass/python-any-r1.eclass
+++ b/testdata/repos/python/eclass/python-any-r1.eclass
@@ -12,16 +12,14 @@
 
 _python_set_impls() {
 	local i slot
-	local -a use
+	PYTHON_DEPS="|| ("
 	for i in "${PYTHON_COMPAT[@]}"; do
 		slot=${i#python}
 		slot=${slot/_/.}
-		use+=( "python_targets_${i}" )
-		PYTHON_DEPS+=" python_targets_${i}? ( dev-lang/python:${slot} )"
+		PYTHON_DEPS+=" dev-lang/python:${slot}"
 	done
-	IUSE+=" ${use[@]}"
-	PYTHON_REQUIRED_USE="|| ( ${use[@]} )"
-	PYTHON_USEDEP=$(IFS=","; echo "${use[*]}")
+	PYTHON_DEPS+=" )"
+	PYTHON_REQUIRED_USE='I-DO-NOT-EXIST-IN-PYTHON-ANY-R1'
 }
 _python_set_impls
 


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-10-21 17:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-21 17:41 [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: testdata/repos/python/eclass/ Arthur Zamarin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox