commit:     9e9fbb790191cf7d39b41821d77f9f4a3875d651
Author:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
AuthorDate: Mon Nov 27 08:50:10 2023 +0000
Commit:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
CommitDate: Mon Nov 27 08:53:34 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9e9fbb79

games-rpg/open-adventure: fix dev-python/pyyaml dependency

Closes: https://bugs.gentoo.org/918627
Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com>

 games-rpg/open-adventure/open-adventure-1.16.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/games-rpg/open-adventure/open-adventure-1.16.ebuild 
b/games-rpg/open-adventure/open-adventure-1.16.ebuild
index 2d4d8bd038..0f7514b293 100644
--- a/games-rpg/open-adventure/open-adventure-1.16.ebuild
+++ b/games-rpg/open-adventure/open-adventure-1.16.ebuild
@@ -15,12 +15,15 @@ SLOT="0"
 KEYWORDS="~amd64"
 
 BDEPEND="
-       ${PYTHON_DEPS}
        $(python_gen_any_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]' )
 "
 
 DOCS=( NEWS.adoc hints.adoc history.adoc README.adoc notes.adoc )
 
+python_check_deps() {
+       python_has_version "dev-python/pyyaml[${PYTHON_USEDEP}]"
+}
+
 src_compile() {
        emake advent advent.6
 }

Reply via email to