summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-04-11 07:39:44 +0200
committerHans de Graaff <graaff@gentoo.org>2019-04-11 08:49:32 +0200
commit753365a505569d572eef8016c25e20e7ad253f88 (patch)
treefbc8f624e163112207650069c1ab930bc1c747a3 /dev-ruby/test-unit
parentnet-libs/http-parser: Version 2.9.1 (diff)
downloadgentoo-753365a505569d572eef8016c25e20e7ad253f88.tar.gz
gentoo-753365a505569d572eef8016c25e20e7ad253f88.tar.bz2
gentoo-753365a505569d572eef8016c25e20e7ad253f88.zip
dev-ruby/test-unit: add 3.3.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
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.3.2.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/test-unit/Manifest b/dev-ruby/test-unit/Manifest
index 1be3060c1609..c3d1c18d53b7 100644
--- a/dev-ruby/test-unit/Manifest
+++ b/dev-ruby/test-unit/Manifest
@@ -3,3 +3,4 @@ DIST test-unit-3.2.8.gem 129536 BLAKE2B ee88fc653b0dc0cad7d88427391cd6a476d2d3c5
DIST test-unit-3.2.9.gem 131584 BLAKE2B 2b6a5b8ca96c43eb3b943cf284d51bb5154409c9f10f2f9386b2e5c027f6357d38c09732aba59c84c9404ac5b185471e830ec8aa0df3cbc9392274bb1c8cd82a SHA512 1c2b127e3522f4561770b9f9e7b547a18b9f2df4120ea408a8f4064be393a26138998068c1484569f35b33cfddc8a7251e237d90703f8e1a023c14875f7e2ae5
DIST test-unit-3.3.0.gem 132096 BLAKE2B aa569c4e7727bfd664d14662924f877d2708151832f6797818bff4efc00ce7ecf2a995bdff36f6708abba1d26cae095f192be431d7dac5d68096b34a1ad5b987 SHA512 bc07f0a3691935aa766d83ce599264e031119622bb1f3ecf9b4cbb47daa16892cb9afdc78bfd725b547ba0643c52062c4dcc606e5d187b220236ea1ea7749263
DIST test-unit-3.3.1.gem 132096 BLAKE2B ac1220ed2dd762c1bd37b1e10dc3cb7047b6dafbd24812126f22d6fd5ce8ce5353f93048d85a45e38de031380e6b506e2e626778c925e0dad54344b53b255afc SHA512 4275346f7e4c398b0999634636b3386f054f5c7018f06ddf53b488ebeb6eee8aed7d59e84993a32163d79463601a4b65d3e4115612e0a88c654da342a548d44a
+DIST test-unit-3.3.2.gem 133120 BLAKE2B a1945604327935b784b2286c4a714561a05f2db766723cdcad47a18b3be34ff803d4a257e808d48ef650ab2cdc97b7b1e24e035e356ddb0a4f658de289a327ab SHA512 523b0902133a67949a3e88697ee8d9919bc4a1da3844acd4289ccf202b8037cc255f299b6b66d8b3c90d23d5ac4d75453c029914ec45900bb041a3fd7fbbb8c7
diff --git a/dev-ruby/test-unit/test-unit-3.3.2.ebuild b/dev-ruby/test-unit/test-unit-3.3.2.ebuild
new file mode 100644
index 000000000000..da020d3b86e0
--- /dev/null
+++ b/dev-ruby/test-unit/test-unit-3.3.2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby23 ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README.md doc-install/text/*.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="An xUnit family unit testing framework for Ruby"
+HOMEPAGE="https://rubygems.org/gems/test-unit"
+
+LICENSE="|| ( Ruby GPL-2 ) PSF-2"
+SLOT="2"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-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
+}