summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-07-01 07:20:52 +0200
committerHans de Graaff <graaff@gentoo.org>2024-07-01 07:20:52 +0200
commit1562dd8f2140ad449ffd0229e356a49c42812848 (patch)
treecdb9695660c27fde6af0fa730d88f297db9e9ff5 /dev-ruby/minitest
parentdev-ruby/hoe: drop 4.0.4 (diff)
downloadgentoo-1562dd8f2140ad449ffd0229e356a49c42812848.tar.gz
gentoo-1562dd8f2140ad449ffd0229e356a49c42812848.tar.bz2
gentoo-1562dd8f2140ad449ffd0229e356a49c42812848.zip
dev-ruby/minitest: add 5.24.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/minitest')
-rw-r--r--dev-ruby/minitest/Manifest1
-rw-r--r--dev-ruby/minitest/minitest-5.24.1.ebuild28
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-ruby/minitest/Manifest b/dev-ruby/minitest/Manifest
index c619064bf8ea..9d6c15b6c490 100644
--- a/dev-ruby/minitest/Manifest
+++ b/dev-ruby/minitest/Manifest
@@ -8,3 +8,4 @@ DIST minitest-5.22.3.gem 99328 BLAKE2B c5d67807bd5e9fbe86be0f6f48886854dd7148ccc
DIST minitest-5.23.0.gem 99840 BLAKE2B 59b7f6240626934ba055bec390c762598cf662628c80dd66c95c431e45b7849a991ce6ed1e29a225dcc44ecb096bf572f6d2940614c029baa7e573126baa4081 SHA512 c8031bdfe29ca67162bcbf1e88ee7473ec1ad45d998ce1c9e52fbc88ef0dc10fb98cce74a27f8efac59cce9ec38491777b1e769f9aadd77ebc3cc8238dbd70c3
DIST minitest-5.23.1.gem 100352 BLAKE2B 64daa01705bbf2b2510f0a3ebe738a99a0b2aebd246398239dfc8f9159da58ec66991be420fe1b1e1e10283110ca49952c23840dcf0c2ad56924bcb63af5e67b SHA512 5a235855f6c5c8af957c57598fb0b5febbefbdf57e881f1ded6a58fd6aeb974b9e14fd37b626b184bdb537a332c6f86842d474beab60abed7d0f8562cf4b50d2
DIST minitest-5.24.0.gem 100352 BLAKE2B 93dcd1663b87f091bc6874974fd709ed56b0bd546dc967c13f9918e50138efe8b7d6a9f5d934d30b31ccc5cb4b008a44f49125128ae7bd8f2f2b5e385cb619dc SHA512 dc62947dad74ecce796c84e4f55a66f60259c39fc4cff7eceec0d9de28d42148b6cf95df21dfca7038a28d31b09ee4d348f0f8856dc80e8fb1060c2f725dc84d
+DIST minitest-5.24.1.gem 100352 BLAKE2B 5e5a8701c88eada850cd41fe44f4a1c5c536f48e89795f4676fc23f76c85b876fb95fca0e1f8d72903c2aa448ec9d49615e1ee3a553b246fa173d714c9e91e22 SHA512 e03e06b952bb86d94e73868beeaf72eb83cbbc5935c546d7a105207c28596ec24295fc5e13779dec21237d0d791d6e2554b3e62497e5555a2675bac6d030fcaa
diff --git a/dev-ruby/minitest/minitest-5.24.1.ebuild b/dev-ruby/minitest/minitest-5.24.1.ebuild
new file mode 100644
index 000000000000..c6f3489eae50
--- /dev/null
+++ b/dev-ruby/minitest/minitest-5.24.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33"
+
+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 ~arm64-macos ~ppc-macos ~x64-macos ~x64-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"
+}