summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-12-02 08:24:22 +0100
committerHans de Graaff <graaff@gentoo.org>2018-12-02 11:39:18 +0100
commit41c206023fea46c5bf29e27f167b16fb6b6637a4 (patch)
tree8b9319ba4deddc02cd50f39134521fbfa1b0fd98 /dev-ruby/test-unit
parentwww-apache/passenger: cleanup (diff)
downloadgentoo-41c206023fea46c5bf29e27f167b16fb6b6637a4.tar.gz
gentoo-41c206023fea46c5bf29e27f167b16fb6b6637a4.tar.bz2
gentoo-41c206023fea46c5bf29e27f167b16fb6b6637a4.zip
dev-ruby/test-unit: add 3.2.9
Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.51, 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.2.9.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/test-unit/Manifest b/dev-ruby/test-unit/Manifest
index c11454fd7170..590fdc6ffd12 100644
--- a/dev-ruby/test-unit/Manifest
+++ b/dev-ruby/test-unit/Manifest
@@ -1,2 +1,3 @@
DIST test-unit-3.2.7.gem 129024 BLAKE2B 31565510d5a16cf75706810a551dca40129edb0fc1528b9f55c862b23db1986640f42a72432028f47d052bb1aab3600c90c4ed19388ba11f2221a5d1e0619aaf SHA512 a55a5abee0d602b23af34ee8a9a7e26effc95ce9dd8ce98da28c49caf883d47c86bd2d0979176b0d1e239861ea73a4c5a9a280a1ceda7fbfbbd98c888ca6b01e
DIST test-unit-3.2.8.gem 129536 BLAKE2B ee88fc653b0dc0cad7d88427391cd6a476d2d3c56c3e4bfa7e7cac28d6e9a35663c40e9c4ed29a1d5998255c434ab7884177354fd1e68b07f00fe1e0048506d6 SHA512 b7ed21744118036a997525251af2520158282ca19e99ebccaa7180361a112e0cdafaf570c36126a6b74b8480405c67aaa5394e06465145583964defb68abeb9c
+DIST test-unit-3.2.9.gem 131584 BLAKE2B 2b6a5b8ca96c43eb3b943cf284d51bb5154409c9f10f2f9386b2e5c027f6357d38c09732aba59c84c9404ac5b185471e830ec8aa0df3cbc9392274bb1c8cd82a SHA512 1c2b127e3522f4561770b9f9e7b547a18b9f2df4120ea408a8f4064be393a26138998068c1484569f35b33cfddc8a7251e237d90703f8e1a023c14875f7e2ae5
diff --git a/dev-ruby/test-unit/test-unit-3.2.9.ebuild b/dev-ruby/test-unit/test-unit-3.2.9.ebuild
new file mode 100644
index 000000000000..79107b2926d3
--- /dev/null
+++ b/dev-ruby/test-unit/test-unit-3.2.9.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby23 ruby24 ruby25"
+
+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
+}