diff options
author | Hans de Graaff <graaff@gentoo.org> | 2021-09-11 08:20:31 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2021-09-11 08:20:31 +0200 |
commit | 30ab9cb22e7d1368c558e86be0b2e81d90042fec (patch) | |
tree | 58d8fe8b6ea0bd1762795845786d36ebabc00930 /dev-ruby/test-unit | |
parent | Revert "go-module.eclass: Set @PROVIDES" (diff) | |
download | gentoo-30ab9cb22e7d1368c558e86be0b2e81d90042fec.tar.gz gentoo-30ab9cb22e7d1368c558e86be0b2e81d90042fec.tar.bz2 gentoo-30ab9cb22e7d1368c558e86be0b2e81d90042fec.zip |
dev-ruby/test-unit: add 3.4.6
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/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/test-unit/test-unit-3.4.6.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/test-unit/Manifest b/dev-ruby/test-unit/Manifest index 1b319b70a5fd..fb3084a3dc20 100644 --- a/dev-ruby/test-unit/Manifest +++ b/dev-ruby/test-unit/Manifest @@ -4,3 +4,4 @@ DIST test-unit-3.4.1.gem 122368 BLAKE2B cb1677c83d11c0edbb6ad2eedda63f777832993d DIST test-unit-3.4.2.gem 122368 BLAKE2B 3b308eb539915573762aeffb96b02bca3194b5c4e70d00ba4711e2ebf57215e5865f79e5246e5872f2ba813b81256deae289872b8f550ce630249dcf6ff5069a SHA512 ccf04ffbea05334f2d4ffed48db6d236c5eb85cc3d0bd79b5a195c43d218bc03b3b310835d7c23f78d2548dcfc8c4be5d1f3bf92d1aff6fd56ff3f483b2f1b0a 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 diff --git a/dev-ruby/test-unit/test-unit-3.4.6.ebuild b/dev-ruby/test-unit/test-unit-3.4.6.ebuild new file mode 100644 index 000000000000..496be5175274 --- /dev/null +++ b/dev-ruby/test-unit/test-unit-3.4.6.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 +} |