summaryrefslogtreecommitdiff
path: root/dev-ruby/test-unit
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
commitbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch)
tree0d7a74b4463ee387f9cf9368ceb1b757f694f72a /dev-ruby/test-unit
parentf716a9fe6455d39eef01e718aae68dae61c19704 (diff)
downloadbaldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'dev-ruby/test-unit')
-rw-r--r--dev-ruby/test-unit/Manifest6
-rw-r--r--dev-ruby/test-unit/files/testrb-36
-rw-r--r--dev-ruby/test-unit/metadata.xml12
-rw-r--r--dev-ruby/test-unit/test-unit-3.6.7.ebuild38
-rw-r--r--dev-ruby/test-unit/test-unit-3.6.8.ebuild38
-rw-r--r--dev-ruby/test-unit/test-unit-3.6.9.ebuild42
-rw-r--r--dev-ruby/test-unit/test-unit-3.7.5.ebuild42
-rw-r--r--dev-ruby/test-unit/test-unit-3.7.6.ebuild42
-rw-r--r--dev-ruby/test-unit/test-unit-3.7.7.ebuild42
9 files changed, 268 insertions, 0 deletions
diff --git a/dev-ruby/test-unit/Manifest b/dev-ruby/test-unit/Manifest
new file mode 100644
index 000000000000..5e288b8c5f7b
--- /dev/null
+++ b/dev-ruby/test-unit/Manifest
@@ -0,0 +1,6 @@
+DIST test-unit-3.6.7.tar.gz 169506 BLAKE2B 3ed8eb7acb0889f108d6a4df1497c38a62b5d641ad589e5f343669fa80aa26bf69f49a79603b4e8864bd8684d4d83ec0725f7e1a5444d444f86f3d6970814905 SHA512 b6132d49f26797a5da31a041cc0e3e0ce3b31a9f71dc0be3150b1e983f7c7c6acc5d4fe58eee9f7ff75ea4edbc97008a93b736236babec5e8c9dd56a634cc720
+DIST test-unit-3.6.8.tar.gz 169141 BLAKE2B 74639f9ffab7a90d93601e51029f3cf6e9140d13158f7a010946e1104d2b69928c139fcabea03228eefa74b927f320add74df39fa707a1372b7698d21a378474 SHA512 e53a441441b6447eb47a5629ab2d463ef346428ed88bf1fa65a3215ca8f9960c12ad8be1ef9f56943653797be6dbab685d7410d63890b94cf22ec4f54a827d35
+DIST test-unit-3.6.9.tar.gz 169456 BLAKE2B 09c44a96f5837f4c6acc1a1d3b75faf2eb1a621408e2361ae1c287633edcf8fa548a920d308db446aed00cff31a95de80148b469afc77a536edd9f5f1148e607 SHA512 54a0341a76cc1415e866dc08aeafee20e4e2b70862c67583c6d8cd931787b2986bc125955c1bf9b175f8a0a1dca7d94990b4add2f4fc56a4e8e314296099c779
+DIST test-unit-3.7.5.tar.gz 173362 BLAKE2B 0142a9c5703030b9de951d850e4eb56fcae44bc5494cf1b007c11203c25261c142c53520e8523f818e1ad0758d424f1acac923d095f46f0cc9c52062269ce3a4 SHA512 4563c331c397b3f65e05e22444f34fe3fe3880f3ae4969f546ccee4990a058f12807939f846b7773881209ae7c249f552bdfc600ecadbeb7043700f2821ff059
+DIST test-unit-3.7.6.tar.gz 173393 BLAKE2B 84fb3194d8989b8b72f9871603e8039e8306c500752d98dd78286d074cd96927da50d1d22a064347fd8d72312267f59f23752138329cd026829ca70f396935a5 SHA512 e36f64946bd7981d0a33ba394b3493fcc863d14c638998d19f83b92fa721bd1deb5302c7c858d56e3deb6715217d612a6a1a1eafab681e377a853c8927c2ab39
+DIST test-unit-3.7.7.tar.gz 173575 BLAKE2B 52a6e9783a890de7f38f50fd7bc2e4696ec268556881fc2d8c805f7e4fb99a2a9110eee4e3ce283292763108c48dc16cca8a668148b568c9149136f4244c9ca0 SHA512 5452fef0e74b8199affc709127dfb86252778cfcbcee1850112728342e4374f00770236091ac228588143502098a3a6c40b104312dd38f7756a630ff61dc8bb7
diff --git a/dev-ruby/test-unit/files/testrb-3 b/dev-ruby/test-unit/files/testrb-3
new file mode 100644
index 000000000000..4f5a8467f46d
--- /dev/null
+++ b/dev-ruby/test-unit/files/testrb-3
@@ -0,0 +1,6 @@
+#!/usr/bin/env ruby
+gem 'test-unit', '>= 2.5', '<4'
+require 'test/unit'
+(r = Test::Unit::AutoRunner.new(true)).process_args(ARGV) or
+ abort r.options.banner + " tests..."
+exit r.run
diff --git a/dev-ruby/test-unit/metadata.xml b/dev-ruby/test-unit/metadata.xml
new file mode 100644
index 000000000000..4b7391de962e
--- /dev/null
+++ b/dev-ruby/test-unit/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="rubygems">test-unit</remote-id>
+ <remote-id type="github">test-unit/test-unit</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ruby/test-unit/test-unit-3.6.7.ebuild b/dev-ruby/test-unit/test-unit-3.6.7.ebuild
new file mode 100644
index 000000000000..16a39f256a74
--- /dev/null
+++ b/dev-ruby/test-unit/test-unit-3.6.7.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33 ruby34"
+
+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 ~arm64-macos ~x64-macos ~x64-solaris"
+IUSE="doc test"
+
+ruby_add_rdepend "dev-ruby/power_assert"
+
+ruby_add_bdepend "test? ( dev-ruby/bigdecimal dev-ruby/csv )"
+
+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
+}
diff --git a/dev-ruby/test-unit/test-unit-3.6.8.ebuild b/dev-ruby/test-unit/test-unit-3.6.8.ebuild
new file mode 100644
index 000000000000..ab16d92598a7
--- /dev/null
+++ b/dev-ruby/test-unit/test-unit-3.6.8.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33 ruby34"
+
+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 ~arm64-macos ~x64-macos ~x64-solaris"
+IUSE="doc test"
+
+ruby_add_rdepend "dev-ruby/power_assert"
+
+ruby_add_bdepend "test? ( dev-ruby/bigdecimal dev-ruby/csv )"
+
+all_ruby_prepare() {
+ mv doc doc-install || die "moving doc directory out of the way failed"
+}
+
+each_ruby_test() {
+ ${RUBY} test/run.rb || die "testsuite failed"
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ newbin "${FILESDIR}"/testrb-3 testrb-2
+}
diff --git a/dev-ruby/test-unit/test-unit-3.6.9.ebuild b/dev-ruby/test-unit/test-unit-3.6.9.ebuild
new file mode 100644
index 000000000000..90baad0c368f
--- /dev/null
+++ b/dev-ruby/test-unit/test-unit-3.6.9.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby32 ruby33 ruby34"
+
+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 ~arm64-macos ~x64-macos ~x64-solaris"
+IUSE="doc test"
+
+ruby_add_rdepend "dev-ruby/power_assert"
+
+ruby_add_bdepend "test? ( dev-ruby/bigdecimal dev-ruby/csv )"
+
+all_ruby_prepare() {
+ mv doc doc-install || die "moving doc directory out of the way failed"
+
+ sed -e 's:_relative ": "./:' \
+ -i ${RUBY_FAKEGEM_GEMSPEC} || die
+}
+
+each_ruby_test() {
+ ${RUBY} test/run.rb || die "testsuite failed"
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ newbin "${FILESDIR}"/testrb-3 testrb-2
+}
diff --git a/dev-ruby/test-unit/test-unit-3.7.5.ebuild b/dev-ruby/test-unit/test-unit-3.7.5.ebuild
new file mode 100644
index 000000000000..90baad0c368f
--- /dev/null
+++ b/dev-ruby/test-unit/test-unit-3.7.5.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby32 ruby33 ruby34"
+
+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 ~arm64-macos ~x64-macos ~x64-solaris"
+IUSE="doc test"
+
+ruby_add_rdepend "dev-ruby/power_assert"
+
+ruby_add_bdepend "test? ( dev-ruby/bigdecimal dev-ruby/csv )"
+
+all_ruby_prepare() {
+ mv doc doc-install || die "moving doc directory out of the way failed"
+
+ sed -e 's:_relative ": "./:' \
+ -i ${RUBY_FAKEGEM_GEMSPEC} || die
+}
+
+each_ruby_test() {
+ ${RUBY} test/run.rb || die "testsuite failed"
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ newbin "${FILESDIR}"/testrb-3 testrb-2
+}
diff --git a/dev-ruby/test-unit/test-unit-3.7.6.ebuild b/dev-ruby/test-unit/test-unit-3.7.6.ebuild
new file mode 100644
index 000000000000..477e6c87a942
--- /dev/null
+++ b/dev-ruby/test-unit/test-unit-3.7.6.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby32 ruby33 ruby34 ruby40"
+
+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 ~arm64-macos ~x64-macos ~x64-solaris"
+IUSE="doc test"
+
+ruby_add_rdepend "dev-ruby/power_assert"
+
+ruby_add_bdepend "test? ( dev-ruby/bigdecimal dev-ruby/csv )"
+
+all_ruby_prepare() {
+ mv doc doc-install || die "moving doc directory out of the way failed"
+
+ sed -e 's:_relative ": "./:' \
+ -i ${RUBY_FAKEGEM_GEMSPEC} || die
+}
+
+each_ruby_test() {
+ ${RUBY} test/run.rb || die "testsuite failed"
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ newbin "${FILESDIR}"/testrb-3 testrb-2
+}
diff --git a/dev-ruby/test-unit/test-unit-3.7.7.ebuild b/dev-ruby/test-unit/test-unit-3.7.7.ebuild
new file mode 100644
index 000000000000..eec2aa856d76
--- /dev/null
+++ b/dev-ruby/test-unit/test-unit-3.7.7.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby32 ruby33 ruby34 ruby40"
+
+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 ~arm64-macos ~x64-macos ~x64-solaris"
+IUSE="doc test"
+
+ruby_add_rdepend "dev-ruby/power_assert"
+
+ruby_add_bdepend "test? ( dev-ruby/bigdecimal dev-ruby/csv )"
+
+all_ruby_prepare() {
+ mv doc doc-install || die "moving doc directory out of the way failed"
+
+ sed -e 's:_relative ": "./:' \
+ -i ${RUBY_FAKEGEM_GEMSPEC} || die
+}
+
+each_ruby_test() {
+ ${RUBY} test/run.rb || die "testsuite failed"
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ newbin "${FILESDIR}"/testrb-3 testrb-2
+}