diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-02-16 08:07:53 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-02-16 08:08:31 +0100 |
commit | d70ab125406460b9405b12ca750cec52fadcde74 (patch) | |
tree | cd24278ba28cfd6383e06771a4f89d6f953ec41e /dev-ruby/test-unit | |
parent | dev-ruby/pdf-inspector: enable ruby33 (diff) | |
download | gentoo-d70ab125406460b9405b12ca750cec52fadcde74.tar.gz gentoo-d70ab125406460b9405b12ca750cec52fadcde74.tar.bz2 gentoo-d70ab125406460b9405b12ca750cec52fadcde74.zip |
dev-ruby/test-unit: add 3.6.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/test-unit')
-rw-r--r-- | dev-ruby/test-unit/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/test-unit/test-unit-3.6.2.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/test-unit/Manifest b/dev-ruby/test-unit/Manifest index c47599eaf115..2409fcc7cada 100644 --- a/dev-ruby/test-unit/Manifest +++ b/dev-ruby/test-unit/Manifest @@ -1,2 +1,3 @@ DIST test-unit-3.5.8.tar.gz 165216 BLAKE2B 1a039931d87ce3ad4afecd4c1105bb6197acc05be3b9091ca6361689f42d725d1333553b7527bc5cb46306acd3ac4df20ed809e0aca9928a760fc0d849a51e2b SHA512 ab7f492dd5f4606cd91a32240aa3ef6dffec48281b65d960bf87d0b2a9a865d6273bb4cc6896397136c5b313669f615fe6f5a83a6a4ab241013eaa51cf5e3341 DIST test-unit-3.6.1.tar.gz 165438 BLAKE2B 5f5b912eec04ddeed6501c873850df3b5e3bd4450994581055634ba9923fa54c9c4731593fd24bc08caf1ce2e4f8181a39221bbfcc2f80359395b5fd30df80c9 SHA512 0788871faeb9d9c9e2a07cf4cae7b63d9520ff1e1be831889861c9d76b10bd6f59a60c0417c7b5ae97856bfd1c75cffd4e1c9a006f7a0c651432196733aa0f08 +DIST test-unit-3.6.2.tar.gz 165842 BLAKE2B 0eeacf817bf4b0103ce9c6b7097401a24f9788a2bea6d3ac0feed3236575556fafd778b565a63510aeb4fc5cede18f72fc0ef42249c3a6fb3a86a199d5b0a0df SHA512 d523412e080ea0ce1ac968c64279fbdc90afaed3b2052f357993583ed89a77d9977022aac74f3170bfc3cb7e716f1665a9705e0ed95a8db5f205f1b984f52d94 diff --git a/dev-ruby/test-unit/test-unit-3.6.2.ebuild b/dev-ruby/test-unit/test-unit-3.6.2.ebuild new file mode 100644 index 000000000000..69fcabebe695 --- /dev/null +++ b/dev-ruby/test-unit/test-unit-3.6.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32 ruby33" + +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-BSD BSD-2 ) PSF-2" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-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 +} |