diff options
-rw-r--r-- | dev-ruby/minitest/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/minitest/minitest-5.25.0.ebuild | 28 |
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-ruby/minitest/Manifest b/dev-ruby/minitest/Manifest index 9d6c15b6c490..8ba39561d565 100644 --- a/dev-ruby/minitest/Manifest +++ b/dev-ruby/minitest/Manifest @@ -9,3 +9,4 @@ DIST minitest-5.23.0.gem 99840 BLAKE2B 59b7f6240626934ba055bec390c762598cf662628 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 +DIST minitest-5.25.0.gem 99840 BLAKE2B 1838121f6847dc7165a14d2e256b92bdba85b5c1971c68c5e3bf3d33f17897dc98659aa55b6376ba0ad43dddcb64ef57ccf5b1c8e532ea62625ae9fee119997c SHA512 b9a012b8bc8e0c7065580c5eb101a30e73f86098bd56aec23c577d2ea09cdfee1da8f2bb49dae18c7dcc428c5809434323d0792b8051cb765bf3990776d717a3 diff --git a/dev-ruby/minitest/minitest-5.25.0.ebuild b/dev-ruby/minitest/minitest-5.25.0.ebuild new file mode 100644 index 000000000000..c6f3489eae50 --- /dev/null +++ b/dev-ruby/minitest/minitest-5.25.0.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" +} |