commit:     31bf8d01af9d78451db036ddce1d8d053e82fa7c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 30 18:49:45 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Oct 31 06:21:47 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31bf8d01

app-crypt/sequoia-chameleon-gnupg: Remove GNUPGHOME logic from tests

Remove the unnecessary GNUPGHOME logic from tests -- upstream test code
overrides GNUPGHOME internally, so this is never used.  Furthermore,
they actually expects the warning about insecure permissions -- all
tests fail if we run with `umask 077`.

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
Part-of: https://github.com/gentoo/gentoo/pull/44387
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../sequoia-chameleon-gnupg/sequoia-chameleon-gnupg-0.13.1-r2.ebuild  | 4 ----
 1 file changed, 4 deletions(-)

diff --git 
a/app-crypt/sequoia-chameleon-gnupg/sequoia-chameleon-gnupg-0.13.1-r2.ebuild 
b/app-crypt/sequoia-chameleon-gnupg/sequoia-chameleon-gnupg-0.13.1-r2.ebuild
index 9b327012360d..6a0d6fb2f188 100644
--- a/app-crypt/sequoia-chameleon-gnupg/sequoia-chameleon-gnupg-0.13.1-r2.ebuild
+++ b/app-crypt/sequoia-chameleon-gnupg/sequoia-chameleon-gnupg-0.13.1-r2.ebuild
@@ -81,13 +81,9 @@ src_configure() {
 }
 
 src_test() {
-       local -x GNUPGHOME="${T}"/.gnupg
        local -x REAL_GPG_BIN="${BROOT}"/usr/bin/gpg
        local -x REAL_GPGV_BIN="${BROOT}"/usr/bin/gpgv
 
-       mkdir "${GNUPGHOME}" || die
-       chmod 700 "${GNUPGHOME}" || die
-
        xdg_environment_reset
        RUST_BACKTRACE=full cargo_src_test -vv
 }

Reply via email to