summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-06-25 07:58:42 +0200
committerHans de Graaff <graaff@gentoo.org>2017-06-25 08:53:40 +0200
commit64b38225af5c44a122354fe104f88b024e310e62 (patch)
tree5d20332a3c3e21103eac2b872e52e28cac11ae26 /dev-ruby/test-unit
parentdev-ruby/ruby-opengl: add 0.10.0 (diff)
downloadgentoo-64b38225af5c44a122354fe104f88b024e310e62.tar.gz
gentoo-64b38225af5c44a122354fe104f88b024e310e62.tar.bz2
gentoo-64b38225af5c44a122354fe104f88b024e310e62.zip
dev-ruby/test-unit: add 3.2.5
Package-Manager: Portage-2.3.6, Repoman-2.3.1
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.5.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/test-unit/Manifest b/dev-ruby/test-unit/Manifest
index 29527245916c..ba28867c321b 100644
--- a/dev-ruby/test-unit/Manifest
+++ b/dev-ruby/test-unit/Manifest
@@ -4,3 +4,4 @@ DIST test-unit-3.1.9.gem 124416 SHA256 3efe0e17e4bc9880ada13515198531f6101bf6d03
DIST test-unit-3.2.2.gem 125440 SHA256 1c86c35654d22f19c721f3ec68be5ad5f369be3b9d990349dfd4561a6537ca4e SHA512 da65b7b586844e0df071db8c157b05967f1a8bec9c52d0db256a3772ef7774e82e309bf34daa1f0997c6c6d0b5b637d179e1cd99047e2cb5797152121aee746e WHIRLPOOL 2c98f0bdbb3730c7f8a4063dc5ffa701faab8bc390572660daebf703437f0e39a90badcef46c6f2a2119e9b181b041b4ba8a97a28340bcbec5d4b927195330da
DIST test-unit-3.2.3.gem 125952 SHA256 fe125f1418b223b9d84ea12c2557d87ccc98d2c4ae5b7ef63c75611dc4edcfce SHA512 cdc927a60106e2f7c0afe33035da3240878fcc0edc0a7520be83cca30929cd6ecf64d1aa8e0243d40d55124e97f71781a63fb6a22e79160794a71fdce31d917d WHIRLPOOL 9e43aad97ab972fdf17c855d5ff3912e711758a6a7bb94e94164dfb85a66d2fb56d8e928b4e64e082d20631d4305dc08e6ee8511d32ae28f386ea5afd542919c
DIST test-unit-3.2.4.gem 128000 SHA256 470fe5e582650ea485c7a5c2242fc9b6dc2018d9aa11dab1662a3b672919ab26 SHA512 e2ff209c9aef1b01c14a9dcea0c07d22fdc302cb42d68ffa8dd98d64dc444252ee746c3f3a2ad6ff4651c176d84d1b862e037a8a140c078b7f142a624115d3c7 WHIRLPOOL 96f0be0e15e9492ee9370c1562b7f987f35125058d6b66eb55cfa3bb72d50967025216f65695b357396df223539bad9a6aa1a19a5e133ab6355f5dc8fb4c6b4b
+DIST test-unit-3.2.5.gem 128512 SHA256 a230fc4f832ca770bf0bdcd82dd6e83f48fb24cf4e6e883bf83806c09d197d15 SHA512 4c2efa61893d20d593c3b4ab620219c4540f04abd8566c4448e17f50727a955188d76e2d09759f7829b4587c40369a2b7419bf13315537cea7da8bb95c795ab0 WHIRLPOOL 5925a10923d864a2750d965589eca8f2eaed14839cbe56b492606f767368e87e85a37e3586e60e6f5cb3287cc6d1b45cfb56f53c4cd8a8c144e2823ff690f208
diff --git a/dev-ruby/test-unit/test-unit-3.2.5.ebuild b/dev-ruby/test-unit/test-unit-3.2.5.ebuild
new file mode 100644
index 000000000000..a2ce766c7f2e
--- /dev/null
+++ b/dev-ruby/test-unit/test-unit-3.2.5.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+
+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
+}