commit:     49b87bef230f2c5abeed3541ebac318cabf2f177
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jun  5 11:54:56 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun  5 11:55:27 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49b87bef

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
 <AT> milou.amd64.dev.gentoo.org/

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/dbus-python/dbus-python-1.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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[@]}"

Reply via email to