summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-12-11 07:32:38 +0100
committerHans de Graaff <graaff@gentoo.org>2016-12-11 07:32:38 +0100
commit29b97c463d2b8a94a5c5fb4813f6da60aa26f791 (patch)
tree0e36c27fb5c5bb85989c05b618c57b840445e251 /dev-ruby/test-unit
parentdev-ruby/test-unit: cleanup (diff)
downloadgentoo-29b97c463d2b8a94a5c5fb4813f6da60aa26f791.tar.gz
gentoo-29b97c463d2b8a94a5c5fb4813f6da60aa26f791.tar.bz2
gentoo-29b97c463d2b8a94a5c5fb4813f6da60aa26f791.zip
dev-ruby/test-unit: add 3.2.3
Package-Manager: portage-2.3.0
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.3.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-ruby/test-unit/Manifest b/dev-ruby/test-unit/Manifest
index b0fed8f3f7f..656fac52c21 100644
--- a/dev-ruby/test-unit/Manifest
+++ b/dev-ruby/test-unit/Manifest
@@ -2,3 +2,4 @@ DIST test-unit-1.2.3.gem 40960 SHA256 a7551459c53b0d73ac8e3ad3624b88d211bc80bc41
DIST test-unit-2.5.5.gem 111104 SHA256 3216d6584293964c438e0573fa8f0273d12df2abb1c32d7a6aa427d6e0779d47 SHA512 4f710997d187011bc240ef869f5c86c11e01d9c7c8bee5fd938f194155137d7164e69bae6d63e41b90de8f7f6ab813a62131f2f9518d57b3913777923b491142 WHIRLPOOL 8bcdd17b02162e73afe6a306fc34e7687db7c6abb38cd94c3e558c25d30db3dda1893a923d217d887af55ff64f88e6c14861de5c30786798d3c4cf99f2c26ce3
DIST test-unit-3.1.9.gem 124416 SHA256 3efe0e17e4bc9880ada13515198531f6101bf6d03c5e5556f53cc72b45c33aec SHA512 ec3068db7faceb5c6a3f3a848512aa76ec2e360a2a1ca7ec45fd6c1b84f45f04fb1b4d77120dfde7b0a41e4a8435fa37ba6550e4242e3817d344b3ca8d7b4428 WHIRLPOOL 715cd547da273b6384a5f6191d2d80c26a1044ff94639cd4bdfd9a80553e026522e495683323572be41081dbad1f35fcab20b6b4c98a9f65ac576c8682e088f7
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
diff --git a/dev-ruby/test-unit/test-unit-3.2.3.ebuild b/dev-ruby/test-unit/test-unit-3.2.3.ebuild
new file mode 100644
index 00000000000..c1ac970024b
--- /dev/null
+++ b/dev-ruby/test-unit/test-unit-3.2.3.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="README.md doc/text/news.md"
+
+inherit ruby-fakegem
+
+# Assume for now that ruby23 is not eselected yet and only
+# depend on yard for the other ruby implementations. Without this
+# assumption bootstrapping ruby23 won't be possible due to the yard
+# dependency tree.
+USE_RUBY="${USE_RUBY/ruby23/}" ruby_add_bdepend "doc? ( dev-ruby/yard )"
+
+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 ~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_compile() {
+ all_fakegem_compile
+
+ if use doc; then
+ yard doc --title ${PN} || die
+ fi
+}
+
+each_ruby_test() {
+ ${RUBY} test/run-test.rb || die "testsuite failed"
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ newbin "${FILESDIR}"/testrb-3 testrb-2
+}