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: 6f8ef24af3
Bug: https://bugs.gentoo.org/938237
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
Eli Schwartz
2024-08-20 23:48:34 -04:00
parent 8fc6b8380d
commit 8c7941ef6d

View File

@@ -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}] )