summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-12-15 07:51:10 +0100
committerHans de Graaff <graaff@gentoo.org>2022-12-15 07:51:10 +0100
commit9987bf40d6f51cea3895e15340acf93f00b6c994 (patch)
tree1b758ecc2bbe72794ae2261a1d2f83eb3b16c8a1 /dev-ruby
parentdev-ruby/git: stabilize 1.12.0 for amd64 (diff)
downloadgentoo-9987bf40d6f51cea3895e15340acf93f00b6c994.tar.gz
gentoo-9987bf40d6f51cea3895e15340acf93f00b6c994.tar.bz2
gentoo-9987bf40d6f51cea3895e15340acf93f00b6c994.zip
dev-ruby/test-unit: add 3.5.7
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/test-unit/Manifest1
-rw-r--r--dev-ruby/test-unit/test-unit-3.5.7.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/test-unit/Manifest b/dev-ruby/test-unit/Manifest
index a50198e5e69f..1fe1f3ba916c 100644
--- a/dev-ruby/test-unit/Manifest
+++ b/dev-ruby/test-unit/Manifest
@@ -2,3 +2,4 @@ DIST test-unit-3.3.9.gem 121856 BLAKE2B f8ac1568aabc7d53c79715c6b141d3f2be0782e3
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
+DIST test-unit-3.5.7.tar.gz 164734 BLAKE2B 470a4552f2da0b7b9c8f3cbd071229fefa12c1e48c32936a6520902a9443a891cd19ed0e7c71ba4f8d81747902afd2e3dbc3eaa6ac7683ca11e5ad88e7c4497e SHA512 af678a89590c9305eeac3a4e5c7e99354df5b49157de573ee3ff312dad9f12dbcaef3dfe7ffc256194e39e0438625acdd9ab3e9686d7e2c58b2cf225f7f1f74c
diff --git a/dev-ruby/test-unit/test-unit-3.5.7.ebuild b/dev-ruby/test-unit/test-unit-3.5.7.ebuild
new file mode 100644
index 000000000000..1158489b93c2
--- /dev/null
+++ b/dev-ruby/test-unit/test-unit-3.5.7.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
+}