summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArsen Arsenović <arsen@aarsen.me>2022-07-20 13:16:57 +0200
committerSam James <sam@gentoo.org>2022-07-20 19:10:09 +0000
commita135f786f9666522f270bb989600d3e4f41eacbb (patch)
treeb6d494bdf55657e77c97cf4f13306be91c13ce0f /dev-util/muon
parentapp-emulation/qemu: provide pre-generated man pages (diff)
downloadgentoo-a135f786f9666522f270bb989600d3e4f41eacbb.tar.gz
gentoo-a135f786f9666522f270bb989600d3e4f41eacbb.tar.bz2
gentoo-a135f786f9666522f270bb989600d3e4f41eacbb.zip
dev-util/muon: add pyyaml build-time dependency
pyyaml (and it's CLoader) is required by genrefman when building the Meson reference Closes: https://bugs.gentoo.org/859454 Closes: https://bugs.gentoo.org/859457 Signed-off-by: Arsen Arsenović <arsen@aarsen.me> Closes: https://github.com/gentoo/gentoo/pull/26494 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/muon')
-rw-r--r--dev-util/muon/muon-0_pre20220714.ebuild14
1 files changed, 13 insertions, 1 deletions
diff --git a/dev-util/muon/muon-0_pre20220714.ebuild b/dev-util/muon/muon-0_pre20220714.ebuild
index 5631245bcf41..5ff098a54dc6 100644
--- a/dev-util/muon/muon-0_pre20220714.ebuild
+++ b/dev-util/muon/muon-0_pre20220714.ebuild
@@ -3,7 +3,8 @@
EAPI=8
-inherit meson
+PYTHON_COMPAT=( python3_{8..11} )
+inherit meson python-any-r1
COMMIT_HASH="1d85870cc3b92690d42fa3e480961fb2f708388e"
MESON_DOCS_TAR=meson-docs-0.63.0-40-g280f3423b.tar.gz
@@ -32,6 +33,17 @@ DEPEND="
man? ( app-text/scdoc )
"
RDEPEND="${DEPEND}"
+BDEPEND="
+ man? (
+ $(python_gen_any_dep '
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ ')
+ )
+"
+
+python_check_deps() {
+ python_has_version "dev-python/pyyaml[${PYTHON_USEDEP}]"
+}
src_prepare() {
default