commit:     4e6b04aef2132dd235ed6396c04dd4f171c97837
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Tue Oct 17 23:12:06 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Oct 25 02:22:19 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e6b04ae

app-crypt/libsecret: drop useless test dep on mock

This dependency has been here since ::gentoo was imported into git. But
libsecret has never used the mock package in its tests. It has a mock/
directory inside its own source code providing mocking primitives that
are totally unrelated to unittest.

Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-crypt/libsecret/libsecret-0.20.5-r3.ebuild | 2 --
 app-crypt/libsecret/libsecret-0.21.1.ebuild    | 2 --
 2 files changed, 4 deletions(-)

diff --git a/app-crypt/libsecret/libsecret-0.20.5-r3.ebuild 
b/app-crypt/libsecret/libsecret-0.20.5-r3.ebuild
index 7ad1e9217f9c..33e8b2806240 100644
--- a/app-crypt/libsecret/libsecret-0.20.5-r3.ebuild
+++ b/app-crypt/libsecret/libsecret-0.20.5-r3.ebuild
@@ -42,7 +42,6 @@ BDEPEND="
        )
        test? (
                $(python_gen_any_dep '
-                       dev-python/mock[${PYTHON_USEDEP}]
                        dev-python/dbus-python[${PYTHON_USEDEP}]
                        introspection? ( 
dev-python/pygobject:3[${PYTHON_USEDEP}] )')
                test-rust? ( introspection? ( >=dev-libs/gjs-1.32 ) )
@@ -118,7 +117,6 @@ python_check_deps() {
        if use introspection; then
                has_version -b "dev-python/pygobject:3[${PYTHON_USEDEP}]" || 
return
        fi
-       has_version -b "dev-python/mock[${PYTHON_USEDEP}]" &&
        has_version -b "dev-python/dbus-python[${PYTHON_USEDEP}]"
 }
 

diff --git a/app-crypt/libsecret/libsecret-0.21.1.ebuild 
b/app-crypt/libsecret/libsecret-0.21.1.ebuild
index 2bd69b9e0890..c3fd3822b2d7 100644
--- a/app-crypt/libsecret/libsecret-0.21.1.ebuild
+++ b/app-crypt/libsecret/libsecret-0.21.1.ebuild
@@ -42,7 +42,6 @@ BDEPEND="
        )
        test? (
                $(python_gen_any_dep '
-                       dev-python/mock[${PYTHON_USEDEP}]
                        dev-python/dbus-python[${PYTHON_USEDEP}]
                        introspection? ( 
dev-python/pygobject:3[${PYTHON_USEDEP}] )')
                test-rust? ( introspection? ( >=dev-libs/gjs-1.32 ) )
@@ -118,7 +117,6 @@ python_check_deps() {
        if use introspection; then
                python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" 
|| return
        fi
-       python_has_version "dev-python/mock[${PYTHON_USEDEP}]" &&
        python_has_version "dev-python/dbus-python[${PYTHON_USEDEP}]"
 }
 

Reply via email to