diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2016-11-05 15:44:16 +0100 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2016-11-05 15:44:16 +0100 |
commit | 38e70b61384580915d06934bf9f1cdab78a1cda3 (patch) | |
tree | ddb0d0bfb8f216deda3cf628f376bd2446e7dc09 | |
parent | net-im/prosody-0.9.10: Restrict luasec to <0.6 (diff) | |
download | gentoo-38e70b61384580915d06934bf9f1cdab78a1cda3.tar.gz gentoo-38e70b61384580915d06934bf9f1cdab78a1cda3.tar.bz2 gentoo-38e70b61384580915d06934bf9f1cdab78a1cda3.zip |
dev-ruby/test-unit: Version bump to 3.2.2
Package-Manager: portage-2.3.2
-rw-r--r-- | dev-ruby/test-unit/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/test-unit/test-unit-3.2.2.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-ruby/test-unit/Manifest b/dev-ruby/test-unit/Manifest index 056aa0d9bd13..f7b26a147b00 100644 --- a/dev-ruby/test-unit/Manifest +++ b/dev-ruby/test-unit/Manifest @@ -6,3 +6,4 @@ DIST test-unit-3.1.8.gem 124416 SHA256 1bf50d79eee99c1aa7d8e199cb0d8e1a08d1a7769 DIST test-unit-3.1.9.gem 124416 SHA256 3efe0e17e4bc9880ada13515198531f6101bf6d03c5e5556f53cc72b45c33aec SHA512 ec3068db7faceb5c6a3f3a848512aa76ec2e360a2a1ca7ec45fd6c1b84f45f04fb1b4d77120dfde7b0a41e4a8435fa37ba6550e4242e3817d344b3ca8d7b4428 WHIRLPOOL 715cd547da273b6384a5f6191d2d80c26a1044ff94639cd4bdfd9a80553e026522e495683323572be41081dbad1f35fcab20b6b4c98a9f65ac576c8682e088f7 DIST test-unit-3.2.0.gem 124928 SHA256 a09a276e39622ed4991e392a514b35a7ba2d61bb384981a805fee65be9bb75a8 SHA512 a0d148ea2ec217afc57ee01116e73285b8c7403c0628d9bf4bddba59de2f254816cec2c5250c21548e143cb3cd63fc703735e0b6fbb7e3e321fe647dec7d16f7 WHIRLPOOL 04d07da9c62c695d56ce58453b283a0381f084d2ed6d7eb59e35d806d1f804e68e11db42660a7cb745c01ee41c8756c734ec781968130963a6265e0bfdb39d7c DIST test-unit-3.2.1.gem 124928 SHA256 50599b29ba3edf1aa924bca6341989fdd27e5c72d4d5bb66dfc65fc5f7cbcfb0 SHA512 226e3acd422d9849d9bf3ed39773776b9b067598db28f5f1f297462199e2f40d870bb2b40f944b59256bddfc8dedb0a8c859118dc04eb5e70fb7ec328243b498 WHIRLPOOL e42d4f47eb2541adb3f7a9f16c8b4fa303537501e8764d3d90e840730201e1f885de0a82510ffda20183024ee8af09e0d82c9554800be7918d3cf6d2ff850c89 +DIST test-unit-3.2.2.gem 125440 SHA256 1c86c35654d22f19c721f3ec68be5ad5f369be3b9d990349dfd4561a6537ca4e SHA512 da65b7b586844e0df071db8c157b05967f1a8bec9c52d0db256a3772ef7774e82e309bf34daa1f0997c6c6d0b5b637d179e1cd99047e2cb5797152121aee746e WHIRLPOOL 2c98f0bdbb3730c7f8a4063dc5ffa701faab8bc390572660daebf703437f0e39a90badcef46c6f2a2119e9b181b041b4ba8a97a28340bcbec5d4b927195330da diff --git a/dev-ruby/test-unit/test-unit-3.2.2.ebuild b/dev-ruby/test-unit/test-unit-3.2.2.ebuild new file mode 100644 index 000000000000..c1ac970024ba --- /dev/null +++ b/dev-ruby/test-unit/test-unit-3.2.2.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 +} |