commit: 035cf7f8d2359575987de7a7c58a74abbc89e7ce
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 4 08:42:56 2025 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Jan 4 08:42:56 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=035cf7f8
dev-ruby/mini_portile2: enable ruby34
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
dev-ruby/mini_portile2/mini_portile2-2.8.8.ebuild | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/dev-ruby/mini_portile2/mini_portile2-2.8.8.ebuild
b/dev-ruby/mini_portile2/mini_portile2-2.8.8.ebuild
index 05cf768babd0..5d5bf8b95b1b 100644
--- a/dev-ruby/mini_portile2/mini_portile2-2.8.8.ebuild
+++ b/dev-ruby/mini_portile2/mini_portile2-2.8.8.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-USE_RUBY="ruby31 ruby32 ruby33"
+USE_RUBY="ruby31 ruby32 ruby33 ruby34"
inherit ruby-fakegem
@@ -15,7 +15,7 @@ SLOT="$(ver_cut 1-2)"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv
~s390 ~sparc ~x86 ~arm64-macos"
IUSE="test"
-BDEPEND="test? ( dev-build/cmake )"
+BDEPEND="test? ( app-crypt/gnupg dev-build/cmake )"
ruby_add_bdepend "test? (
dev-ruby/minitar:0
@@ -29,6 +29,10 @@ all_ruby_prepare() {
# cannot guarantee.
sed -e '/test_configure_defaults_with/askip("Requires gcc to be the
C/C++ compiler.")' \
-i test/test_cmake.rb || die
+
+ # Keep gpg from creating a default common.conf with broken keyboxd
support.
+ mkdir -m 700 "${HOME}/.gnupg" || die
+ touch "${HOME}/.gnupg/common.conf" || die
}
each_ruby_test() {