summaryrefslogtreecommitdiff
path: root/dev-python/dbus-python
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2025-06-05 12:54:56 +0100
committerSam James <sam@gentoo.org>2025-06-05 12:55:27 +0100
commit49b87bef230f2c5abeed3541ebac318cabf2f177 (patch)
tree478cdde314e7b1601576bc7cc678908c0f2f0e81 /dev-python/dbus-python
parentfb434368fef83c2b1d1d894544bdf3880afd0090 (diff)
downloadgentoo-49b87bef230f2c5abeed3541ebac318cabf2f177.tar.gz
gentoo-49b87bef230f2c5abeed3541ebac318cabf2f177.tar.bz2
gentoo-49b87bef230f2c5abeed3541ebac318cabf2f177.zip
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 <sam@gentoo.org>
Diffstat (limited to 'dev-python/dbus-python')
-rw-r--r--dev-python/dbus-python/dbus-python-1.4.0.ebuild2
1 files changed, 1 insertions, 1 deletions
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[@]}"