commit:     55773d647adfc6967547bc1c45c88a08fb33db50
Author:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
AuthorDate: Thu Feb  8 15:23:07 2024 +0000
Commit:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
CommitDate: Thu Feb  8 15:24:57 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=55773d64

games-rpg/open-adventure: add new test dependencies

Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com>

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

diff --git a/games-rpg/open-adventure/open-adventure-1.18.ebuild 
b/games-rpg/open-adventure/open-adventure-1.18.ebuild
index dcee9d7174..1975dd167d 100644
--- a/games-rpg/open-adventure/open-adventure-1.18.ebuild
+++ b/games-rpg/open-adventure/open-adventure-1.18.ebuild
@@ -26,6 +26,10 @@ DEPEND="dev-libs/libedit"
 RDEPEND="${DEPEND}"
 BDEPEND="
        $(python_gen_any_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]' )
+       test? (
+               dev-util/cppcheck
+               $(python_gen_any_dep 'dev-python/pylint[${PYTHON_USEDEP}]')
+       )
        doc? ( dev-ruby/asciidoctor )
 "
 
@@ -33,6 +37,7 @@ DOCS=( NEWS.adoc hints.adoc history.adoc README.adoc 
notes.adoc )
 
 python_check_deps() {
        python_has_version "dev-python/pyyaml[${PYTHON_USEDEP}]"
+       use test && python_has_version "dev-python/pylint[${PYTHON_USEDEP}]"
 }
 
 src_prepare() {

Reply via email to