summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-09-20 07:49:14 +0200
committerHans de Graaff <graaff@gentoo.org>2021-09-21 07:08:33 +0200
commit84be47900bc69fec9d15b66d0d086ffc336e84be (patch)
treed11de9999341c04f0305e0a80f42890ced45dfde /dev-ruby/test-unit
parentdev-ruby/terminal-table: add 3.0.2 (diff)
downloadgentoo-84be47900bc69fec9d15b66d0d086ffc336e84be.tar.gz
gentoo-84be47900bc69fec9d15b66d0d086ffc336e84be.tar.bz2
gentoo-84be47900bc69fec9d15b66d0d086ffc336e84be.zip
dev-ruby/test-unit: add 3.4.7
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
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.4.7.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/test-unit/Manifest b/dev-ruby/test-unit/Manifest
index fb3084a3dc20..5dacc86d70ef 100644
--- a/dev-ruby/test-unit/Manifest
+++ b/dev-ruby/test-unit/Manifest
@@ -5,3 +5,4 @@ DIST test-unit-3.4.2.gem 122368 BLAKE2B 3b308eb539915573762aeffb96b02bca3194b5c4
DIST test-unit-3.4.4.gem 123392 BLAKE2B 7fe5fd5d17712e0b18e5757a22ca60d0504857c46d311874bb2528d6e6eedffdf4f468899cd08c3dddc4808bd41cb21d254d1467f4ccc259eba8bc2405e9cb57 SHA512 3387cc32fca94c2554fa5ed691eec1e0bdddc119ad26f19860c5533764041d17b0ae0515d0a3703f7427558e1eb0f0817c106f2de46b2ad5299ca08c2922de33
DIST test-unit-3.4.5.tar.gz 159848 BLAKE2B c54f1735ab2fb65933d752fcd584137c2bf8ae75a929955999e360fda1ab0d3e6f6dc4ae17f162f3aadb622abea77f8902b134b4e2a606fb12d7043cc7876848 SHA512 37d1e2f994049777815d4c069abf90734fa91107a3fcd09d762ae9f05d54b0b6acc16f5b551a304561137bfd2d4202e85182c11c46843ea4328ea74c4932f36f
DIST test-unit-3.4.6.tar.gz 160828 BLAKE2B 39aa2210cb4a1b85d4d9ab85271aed4d4e55f5be5bdb10436d845393f7c0cbeee0795e153bcdad0712a131e61a389562e29156852575bcc48198ce843b8b6422 SHA512 6ca6c3360cac7bdc24e7d94b0da79726addd0491b10baead69f644998603096a36549bf232723faf1962a964d6a006711eacb7c66a386957a3bb02e328f065f1
+DIST test-unit-3.4.7.tar.gz 160851 BLAKE2B eeb37ef3f241995327bc036321d9a5c6881dc7c0a71d2954de4ee27feeac92983ecd519bd554712d8339de66be556dc9b5a24bea916abdb8daef0faf913e893d SHA512 a70c199e524a392e97df4d344474412c2381fd9bbf53be113352fa7a7ecd26f485d4f7f61cebcacbc4aa57bdd28615bdfc22fa5a1d40173cfbe52a24fe2dec43
diff --git a/dev-ruby/test-unit/test-unit-3.4.7.ebuild b/dev-ruby/test-unit/test-unit-3.4.7.ebuild
new file mode 100644
index 000000000000..496be5175274
--- /dev/null
+++ b/dev-ruby/test-unit/test-unit-3.4.7.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
+}