commit:     95c9cb63290d8e22ba06ea12e016c28031911f48
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 27 22:21:41 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Apr 27 22:22:12 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95c9cb63

dev-vcs/git-extras: fix test deps

I was clearly working too late last night. Fix obvious error in omission
of python_check_deps and also the testpath dep.

Closes: https://bugs.gentoo.org/930758
Closes: https://bugs.gentoo.org/930800
Fixes: 3cdee62a15218b82803a620b86b6b2cae1d8a8a9
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-vcs/git-extras/git-extras-7.2.0.ebuild | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/dev-vcs/git-extras/git-extras-7.2.0.ebuild 
b/dev-vcs/git-extras/git-extras-7.2.0.ebuild
index 6c3441ad3f2f..514d3fd4d220 100644
--- a/dev-vcs/git-extras/git-extras-7.2.0.ebuild
+++ b/dev-vcs/git-extras/git-extras-7.2.0.ebuild
@@ -25,10 +25,17 @@ BDEPEND="
                $(python_gen_any_dep '
                        >=dev-python/GitPython-3.1.40[${PYTHON_USEDEP}]
                        >=dev-python/pytest-7.2[${PYTHON_USEDEP}]
+                       dev-python/testpath[${PYTHON_USEDEP}]
                ')
        )
 "
 
+python_check_deps() {
+       python_has_version ">=dev-python/GitPython-3.1.40[${PYTHON_USEDEP}]" &&
+               python_has_version ">=dev-python/pytest-7.2[${PYTHON_USEDEP}]" 
&&
+               python_has_version "dev-python/testpath[${PYTHON_USEDEP}]"
+}
+
 pkg_setup() {
        use test && python-any-r1_pkg_setup
 }

Reply via email to