From ab4deaa5f8b21d397bc624c1d404e53f07c78f66 Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 9 Feb 2026 21:25:44 +0000 Subject: [PATCH] dev-embedded/u-boot-tools: avoid Python entirely We could set DTC but then we still try to build some components, but grepping for ENABLE_PYTHON, the only use is for dtc, and we get that from dtc[python]. Just disable it. Closes: https://bugs.gentoo.org/860300 Signed-off-by: Sam James --- ...ols-2025.01-r1.ebuild => u-boot-tools-2025.01-r2.ebuild} | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) rename dev-embedded/u-boot-tools/{u-boot-tools-2025.01-r1.ebuild => u-boot-tools-2025.01-r2.ebuild} (95%) diff --git a/dev-embedded/u-boot-tools/u-boot-tools-2025.01-r1.ebuild b/dev-embedded/u-boot-tools/u-boot-tools-2025.01-r2.ebuild similarity index 95% rename from dev-embedded/u-boot-tools/u-boot-tools-2025.01-r1.ebuild rename to dev-embedded/u-boot-tools/u-boot-tools-2025.01-r2.ebuild index 5132af2e3ae4f..b2c53b65fcfa4 100644 --- a/dev-embedded/u-boot-tools/u-boot-tools-2025.01-r1.ebuild +++ b/dev-embedded/u-boot-tools/u-boot-tools-2025.01-r2.ebuild @@ -21,7 +21,7 @@ IUSE="envtools" RDEPEND=" dev-libs/openssl:= net-libs/gnutls:= - sys-apps/dtc[python] + >=sys-apps/dtc-1.4.6 sys-apps/util-linux:= " DEPEND="${RDEPEND}" @@ -56,10 +56,12 @@ src_compile() { HOSTCC="${BUILD_CC}" HOSTCFLAGS="${BUILD_CFLAGS} ${BUILD_CPPFLAGS}"' $(HOSTCPPFLAGS)' HOSTLDFLAGS="${BUILD_LDFLAGS}" + DTC="dtc" + # Provided by sys-apps/dtc[python] + NO_PYTHON=1 ) emake "${myemakeargs[@]}" tools-only_defconfig - emake "${myemakeargs[@]}" \ NO_SDL=1 \ HOSTSTRIP=: \