commit:     9f12f4b60cea428088090c416f1240aad6a32b3c
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 17 05:24:16 2024 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Wed Apr 17 05:24:16 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f12f4b6

dev-ruby/mini_portile2: add 2.8.6

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/mini_portile2/Manifest                   |  1 +
 dev-ruby/mini_portile2/mini_portile2-2.8.6.ebuild | 36 +++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/dev-ruby/mini_portile2/Manifest b/dev-ruby/mini_portile2/Manifest
index e9d9a183d8d9..5580d6a4a0ba 100644
--- a/dev-ruby/mini_portile2/Manifest
+++ b/dev-ruby/mini_portile2/Manifest
@@ -1,2 +1,3 @@
 DIST mini_portile2-2.8.4.gem 30720 BLAKE2B 
33f5e67e1ef647c781cf4f5a4b04a2164b27fb6846e0d76ad42f1cdbdd04cae69c4e14cde4ce5bc36c392de74d256770f693485e896b443aab8cceb0a6cc28e9
 SHA512 
19e3e4908e54fb73d695f0674a5c95d96bfa2cf6f87c0d59c32f8a68941b729adc065b3bea2d5eaada489340d8c76e098b9db839d075cac5d183f47d2cee7d9c
 DIST mini_portile2-2.8.5.gem 35840 BLAKE2B 
f14d071bebf5f1d7160b5196564279ea46ae4ec306587a6ec550c3dbc105db0790b55aae1d7595d2d11d5d21826a07ac382c62e4c22ba15aa22323520040789e
 SHA512 
fa09bc2c4aefc341cb249dc33b5ad3182aa582ef150645793e323bdef4d19cbeeced0348c3c962a7225a9aa91b40824347fa1499955326525eddcf867f6ff798
+DIST mini_portile2-2.8.6.gem 35840 BLAKE2B 
0173084a911ecc6400c1d7cff9645cb7cc99db6e8aac934c7ee723300b3016286dc21dbd2299c9b703a817527a63cd86c31334c880e57a879f78ab24a109e844
 SHA512 
7131806ef5af09082e08a05000256ad7ce9fcd170ef3485f42618c69e0bee6cdf8f2e14b67e61d36b9efed5c1df970045720a01d9e0b7ffac434da651a28f238

diff --git a/dev-ruby/mini_portile2/mini_portile2-2.8.6.ebuild 
b/dev-ruby/mini_portile2/mini_portile2-2.8.6.ebuild
new file mode 100644
index 000000000000..ec718bb6b313
--- /dev/null
+++ b/dev-ruby/mini_portile2/mini_portile2-2.8.6.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32 ruby33"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Simplistic port-like solution for developers"
+HOMEPAGE="https://github.com/flavorjones/mini_portile";
+
+LICENSE="MIT"
+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 )"
+
+ruby_add_bdepend "test? (
+       dev-ruby/minitar
+       dev-ruby/minitest-hooks
+       dev-ruby/net-ftp
+       dev-ruby/webrick
+)"
+
+all_ruby_prepare() {
+       # Avoid tests that expect gcc to be the main compiler, which we
+       # cannot guarantee.
+       sed -e '/test_configure_defaults_with/askip("Requires gcc to be the 
C/C++ compiler.")' \
+               -i test/test_cmake.rb || die
+}
+
+each_ruby_test() {
+       ${RUBY} -w -W2 -I. -Ilib -e 'Dir["test/test_*.rb"].map{|f| require f}' 
|| die
+}

Reply via email to