summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-02-08 11:10:29 +0100
committerHans de Graaff <graaff@gentoo.org>2024-02-08 15:23:53 +0100
commit0e195843a5bf573fc2ef12caf2d5bb80f9b6378d (patch)
treebc7ba12b05c32e0d5deed7f739aef928e3f72967 /dev-ruby/minitest
parentdev-php/maxmind-db-reader: add 1.11.1, drop 1.11.0 (diff)
downloadgentoo-0e195843a5bf573fc2ef12caf2d5bb80f9b6378d.tar.gz
gentoo-0e195843a5bf573fc2ef12caf2d5bb80f9b6378d.tar.bz2
gentoo-0e195843a5bf573fc2ef12caf2d5bb80f9b6378d.zip
dev-ruby/minitest: add 5.22.2
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.22.2.ebuild28
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-ruby/minitest/Manifest b/dev-ruby/minitest/Manifest
index be08e6052f5c..f9ffd98c6a26 100644
--- a/dev-ruby/minitest/Manifest
+++ b/dev-ruby/minitest/Manifest
@@ -6,3 +6,4 @@ DIST minitest-5.19.0.gem 95744 BLAKE2B b234f64e8957ca89c1cb76baea323874a74295c0f
DIST minitest-5.20.0.gem 95744 BLAKE2B b91a895b40a2703478300be236cff87888885099889c19358ccadc73c63d016a3e254c4dc52daa984204e801e3e6fffcb621e674d3e0e3c18b4b2b8fd9e4fece SHA512 906dba1226ed301ad0d7aae2fa138670101e87b11ced69e0c362e65d74fee58a5341756fed8be1f2900863e19c11adcae35ed6ebe7372bb93be0c131dae85a3c
DIST minitest-5.21.2.gem 98304 BLAKE2B 09de6552a95a639b01a3935cf418301e453a9bb4a7edb85d4f2e27b5e8811db722adbc1ed37da1835c545065f8b4169e19e48c1b48a1778ec1c7bf2048628697 SHA512 4cf86dab870f1cb39ef8c9756fa843c6ddc03ff7738c404db37abc7bdb0ff0436e5a64ed15a733d72e7ae0b8412e4b44cbda0ef3d89ba487268f3550d9248e0c
DIST minitest-5.22.0.gem 98816 BLAKE2B efdb358f2ec75df87545b521faf5205315b06bf1aea88a8911d0455c71f45658f6a76037c9a0c0774e4c18f27be6e5f3b238b645511ffd7ac290e6cdd3f1df7a SHA512 d8ffac4d46c59bc62a421f66d09d8228a73f3a02e8c159a8b231dc2d049fa44ab5077a96f05ae339c69c5162e0b0b42eeb324dc33dd414058782561263714633
+DIST minitest-5.22.2.gem 98816 BLAKE2B fcb519fbcf41f908a89608707ce7b2083ddecd3d5a1f8ec8d86e9d84df299997e5a424d201e3704234e695be6f969ab9182dcb0a2170c1277b3e8cd1b2c27b66 SHA512 aafeec582d60f580317f7d30319dd0c0fbb04269359e0aa4de62d0c598039d44dc9a28ce4f999550e7e3a2f48871e4cc563b45ebabf3f8ba7207b7e734b3b5d8
diff --git a/dev-ruby/minitest/minitest-5.22.2.ebuild b/dev-ruby/minitest/minitest-5.22.2.ebuild
new file mode 100644
index 000000000000..c6f3489eae50
--- /dev/null
+++ b/dev-ruby/minitest/minitest-5.22.2.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"
+}