From 49b87bef230f2c5abeed3541ebac318cabf2f177 Mon Sep 17 00:00:00 2001 From: Sam James Date: Thu, 5 Jun 2025 12:54:56 +0100 Subject: dev-python/dbus-python: only pass --enable-documentation with USE=doc This showed up on the binhost builder today [0]. We only call python_setup conditionally, so match the condition below too. [0] https://public-inbox.gentoo.org/gentoo-binhost-autobuilds/20250604145325.BDF30749FB7@milou.amd64.dev.gentoo.org/ Signed-off-by: Sam James --- dev-python/dbus-python/dbus-python-1.4.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dev-python/dbus-python/dbus-python-1.4.0.ebuild') diff --git a/dev-python/dbus-python/dbus-python-1.4.0.ebuild b/dev-python/dbus-python/dbus-python-1.4.0.ebuild index 1f4db0745edf..4738820048d3 100644 --- a/dev-python/dbus-python/dbus-python-1.4.0.ebuild +++ b/dev-python/dbus-python/dbus-python-1.4.0.ebuild @@ -69,7 +69,7 @@ src_configure() { # https://bugs.gentoo.org/815136 PYTHON_EXTRA_LIBS=' ' ) - [[ ${EPYTHON} == ${SPHINX_IMPL} ]] && + use doc && [[ ${EPYTHON} == ${SPHINX_IMPL} ]] && myconf+=( --enable-documentation ) econf "${myconf[@]}" -- cgit v1.2.3