From 8c7941ef6d72ebd63de340dfa1ec3f57c23b9b8d Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Tue, 20 Aug 2024 23:48:34 -0400 Subject: [PATCH] dev-cpp/benchmark: do not require any PYTHON_SINGLE_TARGET without tools We only perform the python-single-r1 dance when `use tools`, and similarly in RDEPEND via USE-conditional dependencies. But REQUIRED_USE was unconditionally done, when it too should have been guarded by the USE flag. Present since the initial implementation of python tool support. Fixes: 6f8ef24af37e572d317fac58ea8eabab64a3f3a8 Bug: https://bugs.gentoo.org/938237 Signed-off-by: Eli Schwartz --- dev-cpp/benchmark/benchmark-1.9.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/benchmark/benchmark-1.9.0.ebuild b/dev-cpp/benchmark/benchmark-1.9.0.ebuild index ce4ceb7354126..46af0a1dbe0f7 100644 --- a/dev-cpp/benchmark/benchmark-1.9.0.ebuild +++ b/dev-cpp/benchmark/benchmark-1.9.0.ebuild @@ -15,7 +15,7 @@ SLOT="0/$(ver_cut 1)" KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~x86" IUSE="doc +exceptions libcxx libpfm lto test +tools" RESTRICT="!test? ( test )" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" +REQUIRED_USE="tools? ( ${PYTHON_REQUIRED_USE} )" DEPEND=" libcxx? ( sys-libs/libcxx[${MULTILIB_USEDEP}] )