mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 22:52:59 -04:00
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 <adel.ks@zegrapher.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user