diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-03-05 08:32:08 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-03-05 09:41:57 +0100 |
commit | dccee63840e891ac569e3915ce663bac5aa019ce (patch) | |
tree | a383a2718ccd634a144e6d69c31f0fff30474beb /dev-ruby/minitest | |
parent | dev-python/argcomplete: drop obsolete readline-8 workaround (diff) | |
download | gentoo-dccee63840e891ac569e3915ce663bac5aa019ce.tar.gz gentoo-dccee63840e891ac569e3915ce663bac5aa019ce.tar.bz2 gentoo-dccee63840e891ac569e3915ce663bac5aa019ce.zip |
dev-ruby/minitest: add 5.18.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/minitest')
-rw-r--r-- | dev-ruby/minitest/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/minitest/minitest-5.18.0.ebuild | 28 |
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-ruby/minitest/Manifest b/dev-ruby/minitest/Manifest index a4d099bb4ae9..277d1c1013c7 100644 --- a/dev-ruby/minitest/Manifest +++ b/dev-ruby/minitest/Manifest @@ -4,3 +4,4 @@ DIST minitest-5.15.0.gem 87040 BLAKE2B 71e7a7952c25fd37067a449867d74a2f18a8a42d1 DIST minitest-5.16.2.gem 93184 BLAKE2B 005af875bf38e3744bf9de90ec6e964487908a817c19094dcee658963ab2c8882bb1cc4e0b19124b83af9f5da019a8d9e611ba21856f50deca8d9eb1757640cb SHA512 714dc201e9a8a45eefa080ee1a45fa66acb2de0cf624e7c6233e7e1745c35ef9e1a8d24236ecf33f440c05c03f09e017c6ff1e077473b22e3abe5d1ff3126989 DIST minitest-5.16.3.gem 93184 BLAKE2B ce3b9f2177a56ab8ff0b61ec4266b67ecfe6e387c57c96eec20db0d7627ac9b73ebebfe148249a1c1c1c9631a63aad8a712b4892a6741a186300afdcd8135a01 SHA512 1463b12842a914df663d0d796bafd418ead038d32c935f3970062492f248f3f4fcf3a5c2f45e2fb71ac13e3b94fca1e6497e7cd7fe9e7050587b7efe2b275453 DIST minitest-5.17.0.gem 93696 BLAKE2B c5979a0d82c4658e4a1584450c899b6a09d99fa145348127902f187e03c6bba73f798fe815186c9ab87a119baa6f3b18acdc1606aa99ec2cf4a1fe548684e93f SHA512 00374b0d0c86d0ec2d285bc4053b6851e1a59e86f7a3ab3db8ccac1db222256edb58514c666763047cec95cf099b1738765a3e9eec9aee3386b187e9fe0f59f9 +DIST minitest-5.18.0.gem 95232 BLAKE2B 5b0f6fb2c304f0d96a6e98c5a4512acbff0a354290e1f2670773f8bdaa8d8b11b8504a15afd03a7bbe89ff1a9478599c2b0b4f0976bf5d52306655581c94ad4d SHA512 309f899b5c5c2573aaf1e84a2225f446e009923b864af8a006eb518f95e758fb6425ec1e5f1790ba8026e041a8fc601551c2f447fa06528399041de119fa2d1a diff --git a/dev-ruby/minitest/minitest-5.18.0.ebuild b/dev-ruby/minitest/minitest-5.18.0.ebuild new file mode 100644 index 000000000000..3c5fd1ffae81 --- /dev/null +++ b/dev-ruby/minitest/minitest-5.18.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31 ruby32" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="minitest/unit is a small and fast replacement for ruby's huge and slow test/unit" +HOMEPAGE="https://github.com/minitest/minitest" + +LICENSE="MIT" +SLOT="5" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc test" + +all_ruby_prepare() { + # Avoid a test dependency on dev-ruby/hoe, leading to circular dependencies + rm -f test/minitest/test_minitest_test_task.rb || die +} + +each_ruby_test() { + export -n A + MT_NO_PLUGINS=true ${RUBY} -Ilib:test:. -e "Dir['**/test_*.rb'].each{|f| require f}" || die "Tests failed" +} |