summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-02-02 07:51:26 +0000
committerSam James <sam@gentoo.org>2024-02-02 08:01:52 +0000
commit5d1b5f7e2e1098e8eb7ee935baa9fe90e3d129ba (patch)
treec2620fe19a64d7e0da7ba4a4c8994b219e6e85b7 /app-emulation
parentapp-emulation/virt-manager: Stabilize 4.1.0-r1 amd64, #923554 (diff)
downloadgentoo-5d1b5f7e2e1098e8eb7ee935baa9fe90e3d129ba.tar.gz
gentoo-5d1b5f7e2e1098e8eb7ee935baa9fe90e3d129ba.tar.bz2
gentoo-5d1b5f7e2e1098e8eb7ee935baa9fe90e3d129ba.zip
app-emulation/qemu-guest-agent: find sphinx
Closes: https://bugs.gentoo.org/923573 Signed-off-by: Ghiunhan Mamut <venerix@redcorelinux.org> Closes: https://github.com/gentoo/gentoo/pull/35143 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/qemu-guest-agent/files/qemu-8.1.0-find-sphinx.patch10
-rw-r--r--app-emulation/qemu-guest-agent/qemu-guest-agent-8.2.0.ebuild1
2 files changed, 11 insertions, 0 deletions
diff --git a/app-emulation/qemu-guest-agent/files/qemu-8.1.0-find-sphinx.patch b/app-emulation/qemu-guest-agent/files/qemu-8.1.0-find-sphinx.patch
new file mode 100644
index 000000000000..b6ef6214af55
--- /dev/null
+++ b/app-emulation/qemu-guest-agent/files/qemu-8.1.0-find-sphinx.patch
@@ -0,0 +1,10 @@
+This gets confused by python-any-r1 and tries to find sphinx-build in ${T}.
+--- a/docs/meson.build
++++ b/docs/meson.build
+@@ -1,5 +1,4 @@
+-sphinx_build = find_program(fs.parent(python.full_path()) / 'sphinx-build',
+- required: get_option('docs'))
++sphinx_build = find_program('sphinx-build', required: get_option('docs'))
+
+ # Check if tools are available to build documentation.
+ build_docs = false
diff --git a/app-emulation/qemu-guest-agent/qemu-guest-agent-8.2.0.ebuild b/app-emulation/qemu-guest-agent/qemu-guest-agent-8.2.0.ebuild
index ab7a0c145b03..46f8a50f74d1 100644
--- a/app-emulation/qemu-guest-agent/qemu-guest-agent-8.2.0.ebuild
+++ b/app-emulation/qemu-guest-agent/qemu-guest-agent-8.2.0.ebuild
@@ -27,6 +27,7 @@ BDEPEND="${PYTHON_DEPS}
S="${WORKDIR}/${MY_P}"
PATCHES=(
+ "${FILESDIR}"/qemu-8.1.0-find-sphinx.patch
)
src_configure() {