From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BF350158094 for ; Wed, 20 Jul 2022 19:10:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ADBDCE0B4C; Wed, 20 Jul 2022 19:10:48 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 681E8E0B4C for ; Wed, 20 Jul 2022 19:10:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 71D2E340FE7 for ; Wed, 20 Jul 2022 19:10:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CD7CC7F for ; Wed, 20 Jul 2022 19:10:45 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1658344209.a135f786f9666522f270bb989600d3e4f41eacbb.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/muon/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/muon/muon-0_pre20220714.ebuild X-VCS-Directories: dev-util/muon/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: a135f786f9666522f270bb989600d3e4f41eacbb X-VCS-Branch: master Date: Wed, 20 Jul 2022 19:10:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3d1a8c57-ea16-48c6-ba0d-81315b305083 X-Archives-Hash: 0b3f3a6ea7322b927ed42d061437779a commit: a135f786f9666522f270bb989600d3e4f41eacbb Author: Arsen Arsenović aarsen me> AuthorDate: Wed Jul 20 11:16:57 2022 +0000 Commit: Sam James gentoo org> CommitDate: Wed Jul 20 19:10:09 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a135f786 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ć aarsen.me> Closes: https://github.com/gentoo/gentoo/pull/26494 Signed-off-by: Sam James gentoo.org> dev-util/muon/muon-0_pre20220714.ebuild | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) 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