diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-10-07 09:26:44 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-10-08 08:26:34 +0200 |
commit | 00e60e1aa480e967983ecc0085380d92c6ef903f (patch) | |
tree | 3eb7f6e30cdd14ed07c32f2f6c64052e11f758aa /dev-ruby/test-unit | |
parent | dev-ruby/x25519: add 1.0.10 (diff) | |
download | gentoo-00e60e1aa480e967983ecc0085380d92c6ef903f.tar.gz gentoo-00e60e1aa480e967983ecc0085380d92c6ef903f.tar.bz2 gentoo-00e60e1aa480e967983ecc0085380d92c6ef903f.zip |
dev-ruby/test-unit: add 3.5.5
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/test-unit')
-rw-r--r-- | dev-ruby/test-unit/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/test-unit/test-unit-3.5.5.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/test-unit/Manifest b/dev-ruby/test-unit/Manifest index fa040a7e6ad6..a50198e5e69f 100644 --- a/dev-ruby/test-unit/Manifest +++ b/dev-ruby/test-unit/Manifest @@ -1,3 +1,4 @@ DIST test-unit-3.3.9.gem 121856 BLAKE2B f8ac1568aabc7d53c79715c6b141d3f2be0782e35dda36fc6184e7b7bbae419e883b94f163333e4e1a186c07f55cef181a2d86d4531e3968667e8c5fcfe8e36c SHA512 8e2a1516d33811793aacbf0b31b9609b43437ea6800cfe6c97b1c96395a8eea7c42f2788dd86b6decfda184a27e5818646bbe313d39ce3799a0869f62a0c4c32 DIST test-unit-3.4.9.tar.gz 161212 BLAKE2B 57c1932a1049300aad41eb8d0a72459c3eaecd5b5bc89fa9f981b6975be9b8b4d378dad8ff769bb1add54e28a6e84b54f791ab13c7bd31d042ae068e37c04f6c SHA512 dccfdbbeb5319cac36dec80d17428b593905c74d8644b19b938bc2cc15ceb598818e73d2f0a681142cba6395b16d404437821af72abc152ab20987a645faf001 DIST test-unit-3.5.3.tar.gz 161397 BLAKE2B 1d52fa1eebf25a66e7036d6709a5410a5563f381d3a3eb05ef09702493e5990b93c6ae5a3167cc4d971174a08a2d2b884b860eeea0ea5f8a1fb76e9c42379e0b SHA512 e6960bdcc67c8667cc13f0a4cf8b412be767124b0e555294be71afff71e0ce9a34e7cfa7413e33ee3c8477928a479e9439ada9e50866c0e8890b4be8dd0b38a2 +DIST test-unit-3.5.5.tar.gz 163463 BLAKE2B bc9b63cf39458bca0d61c3c6c7f4b2c6c61469893e1cba53979e00f04fb940b423b83fa20253ef5292573c3775b9243b1906f2446a89471e9aa1c66fbf0981f4 SHA512 22f60c225ca951d76cfdc5b8c91246a56bf875daf6f03589da99a9860143bbad367c18533b00de3cc9cfd2f23a2b8139e617b9a76c2a63223ccdbcd9cb04db20 diff --git a/dev-ruby/test-unit/test-unit-3.5.5.ebuild b/dev-ruby/test-unit/test-unit-3.5.5.ebuild new file mode 100644 index 000000000000..1158489b93c2 --- /dev/null +++ b/dev-ruby/test-unit/test-unit-3.5.5.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_EXTRADOC="README.md doc-install/text/*.md" + +RUBY_FAKEGEM_GEMSPEC="test-unit.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="An xUnit family unit testing framework for Ruby" +HOMEPAGE="https://rubygems.org/gems/test-unit" +SRC_URI="https://github.com/test-unit/test-unit/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( Ruby-BSD BSD-2 ) PSF-2" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc test" + +ruby_add_rdepend "dev-ruby/power_assert" + +all_ruby_prepare() { + mv doc doc-install || die "moving doc directory out of the way failed" +} + +each_ruby_test() { + ${RUBY} test/run-test.rb || die "testsuite failed" +} + +all_ruby_install() { + all_fakegem_install + + newbin "${FILESDIR}"/testrb-3 testrb-2 +} |