commit:     edb3532fa9a7736051cbc0c7c66e0facb6aa54d7
Author:     Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru>
AuthorDate: Thu Jan 25 04:48:03 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Thu Jan 25 04:48:03 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=edb3532f

gui-apps/organicmaps: fix warnings about Python

Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly <AT> ya.ru>

 gui-apps/organicmaps/organicmaps-9999.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gui-apps/organicmaps/organicmaps-9999.ebuild 
b/gui-apps/organicmaps/organicmaps-9999.ebuild
index 176525a3a6..50acbe360c 100644
--- a/gui-apps/organicmaps/organicmaps-9999.ebuild
+++ b/gui-apps/organicmaps/organicmaps-9999.ebuild
@@ -3,7 +3,8 @@
 
 EAPI=8
 
-inherit git-r3 xdg cmake
+PYTHON_COMPAT=( python3_{7..12} )
+inherit git-r3 python-r1 xdg cmake
 EGIT_REPO_URI="https://github.com/${PN}/${PN}.git";
 # this URL is to make the tests compile since organicmaps usually dynamically 
clones the repo
 # maybe a better way would be to skip the test
@@ -24,6 +25,8 @@ HOMEPAGE="https://organicmaps.app";
 LICENSE="Apache-2.0"
 SLOT="0"
 
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
 # depend on sys-libs/zlib[minizip] when it is not pulled in as subproject 
anymore
 RDEPEND="
        dev-cpp/gflags
@@ -38,6 +41,7 @@ RDEPEND="
        dev-util/vulkan-headers
        media-libs/freetype
        sys-libs/zlib
+       ${PYTHON_DEPS}
 "
 DEPEND="${RDEPEND}"
 

Reply via email to