diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-11-16 08:52:11 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-11-16 09:12:11 +0100 |
commit | 0afb4d61d334e55fbd489d1786c2182d20f3dbdc (patch) | |
tree | f475ee483b4ae255d73dda4f268555375ac6f321 /dev-ruby | |
parent | dev-ruby/pry: add 0.15.0 (diff) | |
download | gentoo-0afb4d61d334e55fbd489d1786c2182d20f3dbdc.tar.gz gentoo-0afb4d61d334e55fbd489d1786c2182d20f3dbdc.tar.bz2 gentoo-0afb4d61d334e55fbd489d1786c2182d20f3dbdc.zip |
dev-ruby/mini_portile2: add 2.8.8
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/mini_portile2/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/mini_portile2/mini_portile2-2.8.8.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/mini_portile2/Manifest b/dev-ruby/mini_portile2/Manifest index c61e8ebef7b2..ac4a448ada4d 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.7.gem 37376 BLAKE2B ba12a85f227df501f7b93a35b6ceb50f6c51470cedc293090c640ffbbbfca0b1089a5174aec914e7655d5f780792dba898beedf1239428e91b8b4852352d932a SHA512 9376a6c2a77a863369d9980dedde3750696ee05ad2249891c35dc03385a2442b0fd182cb4c62da967138f3a9b83c075a6cf8f2a80dd5b76f6f61dbe4e1982fbe +DIST mini_portile2-2.8.8.gem 36864 BLAKE2B edba0dcf3958b6e68cc62fc0d81f798f3e474177f587f20c114a605224e1e1a547c07c712fd392d4f5fac25ad84e20bb905a0f50aad4f04fed8eeeff40329a3d SHA512 bf9d613680cd77ec016fe7b95417008a6b7048739d476758fd8c8854436648fbbe6f41446b198a40bfe7a50f3a48fbcc35427f3cf2cd28257f5222923cb8f700 diff --git a/dev-ruby/mini_portile2/mini_portile2-2.8.8.ebuild b/dev-ruby/mini_portile2/mini_portile2-2.8.8.ebuild new file mode 100644 index 000000000000..ec718bb6b313 --- /dev/null +++ b/dev-ruby/mini_portile2/mini_portile2-2.8.8.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 +} |