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 F3153158090 for ; Wed, 11 May 2022 19:07:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1FE96E0828; Wed, 11 May 2022 19:07:50 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 0A8D8E0828 for ; Wed, 11 May 2022 19:07:49 +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 5CE7034186B for ; Wed, 11 May 2022 19:07:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ADB7A3BF for ; Wed, 11 May 2022 19:07:46 +0000 (UTC) From: "Adel KARA SLIMANE" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Adel KARA SLIMANE" Message-ID: <1652295964.f7289cf91664bed749fdac2ff6ac6ed7615f8911.adel@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: games-util/mangohud/ X-VCS-Repository: repo/proj/guru X-VCS-Files: games-util/mangohud/mangohud-0.6.6.1-r3.ebuild X-VCS-Directories: games-util/mangohud/ X-VCS-Committer: adel X-VCS-Committer-Name: Adel KARA SLIMANE X-VCS-Revision: f7289cf91664bed749fdac2ff6ac6ed7615f8911 X-VCS-Branch: dev Date: Wed, 11 May 2022 19:07:46 +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: 7f2f008b-2234-4388-8c4f-4f93a9a72503 X-Archives-Hash: 2859d6a946df7cb8255c1b7a05a81063 commit: f7289cf91664bed749fdac2ff6ac6ed7615f8911 Author: Adel KARA SLIMANE zegrapher com> AuthorDate: Wed May 11 19:06:04 2022 +0000 Commit: Adel KARA SLIMANE karaslimane com> CommitDate: Wed May 11 19:06:04 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f7289cf9 games-util/mangohud: properly uses python-any-r1 eclass Using https://projects.gentoo.org/python/guide/any.html Thanks @ionenwks @arthurzam Signed-off-by: Adel KARA SLIMANE zegrapher.com> games-util/mangohud/mangohud-0.6.6.1-r3.ebuild | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/games-util/mangohud/mangohud-0.6.6.1-r3.ebuild b/games-util/mangohud/mangohud-0.6.6.1-r3.ebuild index ca29f2673..99f91b86a 100644 --- a/games-util/mangohud/mangohud-0.6.6.1-r3.ebuild +++ b/games-util/mangohud/mangohud-0.6.6.1-r3.ebuild @@ -5,10 +5,10 @@ EAPI=8 PYTHON_COMPAT=( python3_{8..10} ) -inherit python-any-r1 distutils-r1 meson +inherit python-any-r1 meson MY_PV=$(ver_cut 1-3) -[ -n "$(ver_cut 4)" ] && MY_PV_REV="-$(ver_cut 4)" +[[ -n "$(ver_cut 4)" ]] && MY_PV_REV="-$(ver_cut 4)" IMGUI_VER="1.81" IMGUI_MESON_WRAP_VER="1" @@ -34,9 +34,13 @@ REQUIRED_USE=" BDEPEND=" app-arch/unzip - dev-python/mako[${PYTHON_USEDEP}] + $(python_gen_any_dep 'dev-python/mako[${PYTHON_USEDEP}]') " +python_check_deps() { + python_has_version "dev-python/mako[${PYTHON_USEDEP}]" +} + DEPEND=" dev-libs/spdlog dev-util/glslang