summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-06-13 07:17:56 +0200
committerHans de Graaff <graaff@gentoo.org>2023-06-13 07:17:56 +0200
commitfcf40c75f39f5d5b6f89c32f368e4883d6faaf22 (patch)
treea120b062971dfe56fc0683595872c98345eb6501 /dev-ruby/test-unit
parentdev-ruby/sus: add 0.21.0 (diff)
downloadgentoo-fcf40c75f39f5d5b6f89c32f368e4883d6faaf22.tar.gz
gentoo-fcf40c75f39f5d5b6f89c32f368e4883d6faaf22.tar.bz2
gentoo-fcf40c75f39f5d5b6f89c32f368e4883d6faaf22.zip
dev-ruby/test-unit: add 3.6.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/test-unit')
-rw-r--r--dev-ruby/test-unit/Manifest1
-rw-r--r--dev-ruby/test-unit/test-unit-3.6.0.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/test-unit/Manifest b/dev-ruby/test-unit/Manifest
index ed9214e41eb5..bed14dccec53 100644
--- a/dev-ruby/test-unit/Manifest
+++ b/dev-ruby/test-unit/Manifest
@@ -1,3 +1,4 @@
DIST test-unit-3.5.7.tar.gz 164734 BLAKE2B 470a4552f2da0b7b9c8f3cbd071229fefa12c1e48c32936a6520902a9443a891cd19ed0e7c71ba4f8d81747902afd2e3dbc3eaa6ac7683ca11e5ad88e7c4497e SHA512 af678a89590c9305eeac3a4e5c7e99354df5b49157de573ee3ff312dad9f12dbcaef3dfe7ffc256194e39e0438625acdd9ab3e9686d7e2c58b2cf225f7f1f74c
DIST test-unit-3.5.8.tar.gz 165216 BLAKE2B 1a039931d87ce3ad4afecd4c1105bb6197acc05be3b9091ca6361689f42d725d1333553b7527bc5cb46306acd3ac4df20ed809e0aca9928a760fc0d849a51e2b SHA512 ab7f492dd5f4606cd91a32240aa3ef6dffec48281b65d960bf87d0b2a9a865d6273bb4cc6896397136c5b313669f615fe6f5a83a6a4ab241013eaa51cf5e3341
DIST test-unit-3.5.9.tar.gz 165232 BLAKE2B 7f44a4e6f00025855a776daae53e0ffeea595eca3c31b0dbc56bdd0c2a64b5d91371574d148e82d2382d06e04b769d8df6c926939320083b44763a4ffc71c732 SHA512 3af89f786bfa7b155d55609762dc84da4039f8953a8235694aff2e846a663a2372f2c2b1e46ed57ca9785de1d241337145743d7af0f348df6e3b5025edd9ce2b
+DIST test-unit-3.6.0.tar.gz 165258 BLAKE2B 68c98680fff89e30d47ae463c81a0a9759e895ce874e324291a29d0b238b0d128a27a15db7bdf9d2d8c2f96fbdcdb093b36e816c94f5a1d6626370cd320fc12a SHA512 f1b168c1a5dfd93af6abb5c545ba26f5f45402465e8e2c4e7d7840114a98fb8be39b4ef540b57dca6c58240b59ddf4572b9864c46e63bd832a96c122a606d523
diff --git a/dev-ruby/test-unit/test-unit-3.6.0.ebuild b/dev-ruby/test-unit/test-unit-3.6.0.ebuild
new file mode 100644
index 000000000000..f0afb7f19eac
--- /dev/null
+++ b/dev-ruby/test-unit/test-unit-3.6.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby30 ruby31 ruby32"
+
+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 ~arm64-macos ~ppc-macos ~x64-macos ~x64-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
+}