diff options
author | Hans de Graaff <graaff@gentoo.org> | 2021-11-17 07:32:53 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2021-11-17 07:32:53 +0100 |
commit | 92f62fcd5d4b2034247ecf934f78ddb0e87b94cd (patch) | |
tree | 5ef4bee7472f253929ef55b7a749c6deca5d2497 /dev-ruby | |
parent | dev-ruby/sprockets-rails: add 3.4.0 (diff) | |
download | gentoo-92f62fcd5d4b2034247ecf934f78ddb0e87b94cd.tar.gz gentoo-92f62fcd5d4b2034247ecf934f78ddb0e87b94cd.tar.bz2 gentoo-92f62fcd5d4b2034247ecf934f78ddb0e87b94cd.zip |
dev-ruby/test-unit: add 3.5.1
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/test-unit/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/test-unit/test-unit-3.5.1.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/test-unit/Manifest b/dev-ruby/test-unit/Manifest index 0ffd4697a5df..a2b6e0d3b0d2 100644 --- a/dev-ruby/test-unit/Manifest +++ b/dev-ruby/test-unit/Manifest @@ -5,3 +5,4 @@ DIST test-unit-3.4.6.tar.gz 160828 BLAKE2B 39aa2210cb4a1b85d4d9ab85271aed4d4e55f DIST test-unit-3.4.7.tar.gz 160851 BLAKE2B eeb37ef3f241995327bc036321d9a5c6881dc7c0a71d2954de4ee27feeac92983ecd519bd554712d8339de66be556dc9b5a24bea916abdb8daef0faf913e893d SHA512 a70c199e524a392e97df4d344474412c2381fd9bbf53be113352fa7a7ecd26f485d4f7f61cebcacbc4aa57bdd28615bdfc22fa5a1d40173cfbe52a24fe2dec43 DIST test-unit-3.4.9.tar.gz 161212 BLAKE2B 57c1932a1049300aad41eb8d0a72459c3eaecd5b5bc89fa9f981b6975be9b8b4d378dad8ff769bb1add54e28a6e84b54f791ab13c7bd31d042ae068e37c04f6c SHA512 dccfdbbeb5319cac36dec80d17428b593905c74d8644b19b938bc2cc15ceb598818e73d2f0a681142cba6395b16d404437821af72abc152ab20987a645faf001 DIST test-unit-3.5.0.tar.gz 161244 BLAKE2B cbace253377c73d20e88a8457866084fb1914445d95c06e33c3dee72dd7302b12999eb9baf9402d78d6aad617b8c6c43709ae2ad2d7256d5b6c83fa374356956 SHA512 faf882d3a6faa528f3d4da0c78f7787cc43191dd6aff872c65ce172feb5f1e1169513a2ab6085fd2cf6f30716b50fcd538d88d60e669f724188adfed3ff5a76d +DIST test-unit-3.5.1.tar.gz 161335 BLAKE2B 1b96e63934eb20d94474e25865f1631d1050383bbd8d41b851542b5fa08823e46f03792ee77a6d2d9172196c66a114001e33d54e8544a7286a31280f1c03d583 SHA512 de776d9b77a9eb4429813701ceaf5ac66346cdad05a2c79be428a7ca8e064a4191281e1a8f37bbddc736fae00e19a3fff9be8af93ba62042d11824da3c478d09 diff --git a/dev-ruby/test-unit/test-unit-3.5.1.ebuild b/dev-ruby/test-unit/test-unit-3.5.1.ebuild new file mode 100644 index 000000000000..496be5175274 --- /dev/null +++ b/dev-ruby/test-unit/test-unit-3.5.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_EXTRADOC="README.md doc-install/text/*.md" + +RUBY_FAKEGEM_GEMSPEC="test-unit.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="An xUnit family unit testing framework for Ruby" +HOMEPAGE="https://rubygems.org/gems/test-unit" +SRC_URI="https://github.com/test-unit/test-unit/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( Ruby GPL-2 ) PSF-2" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-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 +} |