summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-09-04 08:53:30 +0200
committerHans de Graaff <graaff@gentoo.org>2021-09-04 08:53:30 +0200
commit84f04b2c74deb64156faee6ca0dda4918dd2af2c (patch)
treed6be59809dd097697e62fa18dac629c2299ad79b /dev-ruby/test-unit
parentdev-ruby/maxitest: add 3.7.0 (diff)
downloadgentoo-84f04b2c74deb64156faee6ca0dda4918dd2af2c.tar.gz
gentoo-84f04b2c74deb64156faee6ca0dda4918dd2af2c.tar.bz2
gentoo-84f04b2c74deb64156faee6ca0dda4918dd2af2c.zip
dev-ruby/test-unit: add 3.4.5
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.5.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/test-unit/Manifest b/dev-ruby/test-unit/Manifest
index 340854b98e32..1b319b70a5fd 100644
--- a/dev-ruby/test-unit/Manifest
+++ b/dev-ruby/test-unit/Manifest
@@ -3,3 +3,4 @@ DIST test-unit-3.4.0.gem 121856 BLAKE2B ff975888027ba6122146f074926074ad7eb94e7f
DIST test-unit-3.4.1.gem 122368 BLAKE2B cb1677c83d11c0edbb6ad2eedda63f777832993d262ad0b1b5022fcc049d82d8eaf9284bad22f9a49f3d43febed6f72291eeb30d8844f3ef4703f93b9f556f7d SHA512 08c5877cf6ae80e6ef5de7c806dac74405329cd08a97431d174b756ad173e727a536fe315a624c5e1d5b071d5b887cb4b8498675f5f54073bdffe9d5ec4eb745
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
diff --git a/dev-ruby/test-unit/test-unit-3.4.5.ebuild b/dev-ruby/test-unit/test-unit-3.4.5.ebuild
new file mode 100644
index 000000000000..496be5175274
--- /dev/null
+++ b/dev-ruby/test-unit/test-unit-3.4.5.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
+}