summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-06-17 06:55:26 +0200
committerHans de Graaff <graaff@gentoo.org>2023-06-17 06:55:26 +0200
commitd835de7531ac3dd17a33bc7541d3890fd7045b6c (patch)
tree84c3427cc4f2478c15aaaf50eb3245cd50f9ac39 /dev-ruby/minitest
parentdev-ruby/rdiscount: add 2.2.7.1 (diff)
downloadgentoo-d835de7531ac3dd17a33bc7541d3890fd7045b6c.tar.gz
gentoo-d835de7531ac3dd17a33bc7541d3890fd7045b6c.tar.bz2
gentoo-d835de7531ac3dd17a33bc7541d3890fd7045b6c.zip
dev-ruby/minitest: add 5.18.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.18.1.ebuild28
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-ruby/minitest/Manifest b/dev-ruby/minitest/Manifest
index 754ca48e31a3..638fa8da3f6e 100644
--- a/dev-ruby/minitest/Manifest
+++ b/dev-ruby/minitest/Manifest
@@ -1,3 +1,4 @@
DIST minitest-5.15.0.gem 87040 BLAKE2B 71e7a7952c25fd37067a449867d74a2f18a8a42d1fbd72f24d6db226c54a18e9a21958654d4176176804bedd09ef9d1d3be68f79e29312c3f85d0930d3d68d7b SHA512 5e97a7aa616966ffc60e10cdc0ba123a7e793f10283ec3b6bf36066177036788cb950ad566fbac49e613b93f08b9846534f463017cde966b4890c3a34a2286be
DIST minitest-5.17.0.gem 93696 BLAKE2B c5979a0d82c4658e4a1584450c899b6a09d99fa145348127902f187e03c6bba73f798fe815186c9ab87a119baa6f3b18acdc1606aa99ec2cf4a1fe548684e93f SHA512 00374b0d0c86d0ec2d285bc4053b6851e1a59e86f7a3ab3db8ccac1db222256edb58514c666763047cec95cf099b1738765a3e9eec9aee3386b187e9fe0f59f9
DIST minitest-5.18.0.gem 95232 BLAKE2B 5b0f6fb2c304f0d96a6e98c5a4512acbff0a354290e1f2670773f8bdaa8d8b11b8504a15afd03a7bbe89ff1a9478599c2b0b4f0976bf5d52306655581c94ad4d SHA512 309f899b5c5c2573aaf1e84a2225f446e009923b864af8a006eb518f95e758fb6425ec1e5f1790ba8026e041a8fc601551c2f447fa06528399041de119fa2d1a
+DIST minitest-5.18.1.gem 95232 BLAKE2B 97743455cb893b8ccee7e5d40daa803500c243e59d78dcadde6e7af528f1f9b0a39db267b882f1b5467beb3dd5ecb5e0f5bc0d10ecf4901f10c368e5229b3fc2 SHA512 93095188dbde1020a8028e21023056ae9debe7bb868b26333d763958aa32f66910929a44c45c9656552c9efae2a9909cf8640f4c72b9cc53bd49fd5051c9b4a8
diff --git a/dev-ruby/minitest/minitest-5.18.1.ebuild b/dev-ruby/minitest/minitest-5.18.1.ebuild
new file mode 100644
index 000000000000..5ce8b74cb5ec
--- /dev/null
+++ b/dev-ruby/minitest/minitest-5.18.1.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="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 ~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"
+}