commit:     6ef49481d5057fda6d3644af4faab54ee25ba418
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 28 08:44:59 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Oct 28 08:47:04 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ef49481

verify-sig.eclass: Allow pre-alternative gnupg fo ease transition

Use a || dependency to permit app-crypt/gnupg[-alternatives], to ease
the transition.  This will permit app-crypt/gnupg[verify-sig] to be
built without a cyclic dependency between it and app-alternatives/gpg.

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 eclass/verify-sig.eclass | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/eclass/verify-sig.eclass b/eclass/verify-sig.eclass
index 27f3b350e2cd..9d9be4e377f1 100644
--- a/eclass/verify-sig.eclass
+++ b/eclass/verify-sig.eclass
@@ -70,7 +70,10 @@ case ${VERIFY_SIG_METHOD} in
        openpgp)
                BDEPEND="
                        verify-sig? (
-                               app-alternatives/gpg
+                               || (
+                                       app-alternatives/gpg
+                                       app-crypt/gnupg[-alternatives(-)]
+                               )
                                >=app-portage/gemato-20
                        )
                "

Reply via email to