diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-05-19 07:25:00 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-05-19 07:33:34 +0200 |
commit | f5003591b8b0b8b8f4b7a07f4310cffb16b575ce (patch) | |
tree | e1b8ba3f839f8980a79114eb69f240255190531f /dev-ruby | |
parent | www-apache/passenger: drop 6.0.21 (diff) | |
download | gentoo-f5003591b8b0b8b8f4b7a07f4310cffb16b575ce.tar.gz gentoo-f5003591b8b0b8b8f4b7a07f4310cffb16b575ce.tar.bz2 gentoo-f5003591b8b0b8b8f4b7a07f4310cffb16b575ce.zip |
dev-ruby/minitest: add 5.23.0
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.23.0.ebuild | 28 |
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-ruby/minitest/Manifest b/dev-ruby/minitest/Manifest index a1665637a75a..416fe9d105b2 100644 --- a/dev-ruby/minitest/Manifest +++ b/dev-ruby/minitest/Manifest @@ -5,3 +5,4 @@ DIST minitest-5.20.0.gem 95744 BLAKE2B b91a895b40a2703478300be236cff878888850998 DIST minitest-5.21.2.gem 98304 BLAKE2B 09de6552a95a639b01a3935cf418301e453a9bb4a7edb85d4f2e27b5e8811db722adbc1ed37da1835c545065f8b4169e19e48c1b48a1778ec1c7bf2048628697 SHA512 4cf86dab870f1cb39ef8c9756fa843c6ddc03ff7738c404db37abc7bdb0ff0436e5a64ed15a733d72e7ae0b8412e4b44cbda0ef3d89ba487268f3550d9248e0c DIST minitest-5.22.2.gem 98816 BLAKE2B fcb519fbcf41f908a89608707ce7b2083ddecd3d5a1f8ec8d86e9d84df299997e5a424d201e3704234e695be6f969ab9182dcb0a2170c1277b3e8cd1b2c27b66 SHA512 aafeec582d60f580317f7d30319dd0c0fbb04269359e0aa4de62d0c598039d44dc9a28ce4f999550e7e3a2f48871e4cc563b45ebabf3f8ba7207b7e734b3b5d8 DIST minitest-5.22.3.gem 99328 BLAKE2B c5d67807bd5e9fbe86be0f6f48886854dd7148ccc11062e511c8e354e2b789b3b7a6318cf5fcb06d1064d15378c2df1b2dca474b8eb2d37ba8e04d92a4f688b2 SHA512 11b5279cbedc1b4c6dc3997530f82a35b17a2fef258140332a21edcc0f880a4013514d811207dd8b79fe094e25fbfc5f8d2481b4313ec7dcdd5d8c70af9cf5bd +DIST minitest-5.23.0.gem 99840 BLAKE2B 59b7f6240626934ba055bec390c762598cf662628c80dd66c95c431e45b7849a991ce6ed1e29a225dcc44ecb096bf572f6d2940614c029baa7e573126baa4081 SHA512 c8031bdfe29ca67162bcbf1e88ee7473ec1ad45d998ce1c9e52fbc88ef0dc10fb98cce74a27f8efac59cce9ec38491777b1e769f9aadd77ebc3cc8238dbd70c3 diff --git a/dev-ruby/minitest/minitest-5.23.0.ebuild b/dev-ruby/minitest/minitest-5.23.0.ebuild new file mode 100644 index 000000000000..c6f3489eae50 --- /dev/null +++ b/dev-ruby/minitest/minitest-5.23.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" +} |