commit: ab4deaa5f8b21d397bc624c1d404e53f07c78f66 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Mon Feb 9 21:25:44 2026 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Feb 9 21:28:43 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab4deaa5
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 <sam <AT> gentoo.org> ...-boot-tools-2025.01-r1.ebuild => u-boot-tools-2025.01-r2.ebuild} | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 5132af2e3ae4..b2c53b65fcfa 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=: \
