diff options
author | 2024-08-17 08:27:12 +0200 | |
---|---|---|
committer | 2024-08-17 08:32:26 +0200 | |
commit | 2fccd3718a6c545db49b0db9cc717aac0208b679 (patch) | |
tree | 2ae0a7f280771c21e1185a004124b553c34f8803 /dev-ruby | |
parent | net-mail/dovecot: drop versions (diff) | |
download | gentoo-2fccd3718a6c545db49b0db9cc717aac0208b679.tar.gz gentoo-2fccd3718a6c545db49b0db9cc717aac0208b679.tar.bz2 gentoo-2fccd3718a6c545db49b0db9cc717aac0208b679.zip |
dev-ruby/minitest: add 5.25.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/minitest/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/minitest/minitest-5.25.1.ebuild | 28 |
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-ruby/minitest/Manifest b/dev-ruby/minitest/Manifest index 8ba39561d565..a868fc613459 100644 --- a/dev-ruby/minitest/Manifest +++ b/dev-ruby/minitest/Manifest @@ -10,3 +10,4 @@ DIST minitest-5.23.1.gem 100352 BLAKE2B 64daa01705bbf2b2510f0a3ebe738a99a0b2aebd DIST minitest-5.24.0.gem 100352 BLAKE2B 93dcd1663b87f091bc6874974fd709ed56b0bd546dc967c13f9918e50138efe8b7d6a9f5d934d30b31ccc5cb4b008a44f49125128ae7bd8f2f2b5e385cb619dc SHA512 dc62947dad74ecce796c84e4f55a66f60259c39fc4cff7eceec0d9de28d42148b6cf95df21dfca7038a28d31b09ee4d348f0f8856dc80e8fb1060c2f725dc84d DIST minitest-5.24.1.gem 100352 BLAKE2B 5e5a8701c88eada850cd41fe44f4a1c5c536f48e89795f4676fc23f76c85b876fb95fca0e1f8d72903c2aa448ec9d49615e1ee3a553b246fa173d714c9e91e22 SHA512 e03e06b952bb86d94e73868beeaf72eb83cbbc5935c546d7a105207c28596ec24295fc5e13779dec21237d0d791d6e2554b3e62497e5555a2675bac6d030fcaa DIST minitest-5.25.0.gem 99840 BLAKE2B 1838121f6847dc7165a14d2e256b92bdba85b5c1971c68c5e3bf3d33f17897dc98659aa55b6376ba0ad43dddcb64ef57ccf5b1c8e532ea62625ae9fee119997c SHA512 b9a012b8bc8e0c7065580c5eb101a30e73f86098bd56aec23c577d2ea09cdfee1da8f2bb49dae18c7dcc428c5809434323d0792b8051cb765bf3990776d717a3 +DIST minitest-5.25.1.gem 100352 BLAKE2B cfa9be259daa559f03467198cfed731cfd7c7aa288437a32beaa93728130b51bed72e31c6230983d3c050c8837463692a5d3b9ef7af5d6f819db0bb433893796 SHA512 07a15422a677e1d104d70a6211a1488a5ac80e7517124e95f6983585b840bfd1cb9a18cfdb18cf07a8f6740c4f813852a93aa4d9e7b53f9c858e66b63b82b60b diff --git a/dev-ruby/minitest/minitest-5.25.1.ebuild b/dev-ruby/minitest/minitest-5.25.1.ebuild new file mode 100644 index 000000000000..c6f3489eae50 --- /dev/null +++ b/dev-ruby/minitest/minitest-5.25.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" +} |