summaryrefslogtreecommitdiff
path: root/dev-ruby/test-unit
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-05-13 11:51:16 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-05-13 11:51:16 +0100
commit74bdea52f57b5c6ac79078bc30a1c342dc3d49c7 (patch)
tree7d239372a4ee9d7aa7483f3ff0474ec2d64c426a /dev-ruby/test-unit
parent4b718beb7d5fd4e0b5d741ff3a4c5c570519195e (diff)
gentoo auto-resync : 13:05:2023 - 11:51:15
Diffstat (limited to 'dev-ruby/test-unit')
-rw-r--r--dev-ruby/test-unit/Manifest2
-rw-r--r--dev-ruby/test-unit/test-unit-3.5.8.ebuild36
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/test-unit/Manifest b/dev-ruby/test-unit/Manifest
index 3b320337dfb2..10cbf34a1fb8 100644
--- a/dev-ruby/test-unit/Manifest
+++ b/dev-ruby/test-unit/Manifest
@@ -1,4 +1,6 @@
AUX testrb-3 183 BLAKE2B 5bd4712b7a73cc480669facf537b5bbeaf16eeae2782e21d5fe88cf92c9945845803d3f1611d465a3fc16f76838b5aba964e9b96eae35d9cef1b0b269bb94e2d SHA512 cff9584c54bb682f03a0253df953ea930053642e249a3c4573e34cc78f4b77ef943ca5a2c7d1869d926b4a8d9e173ebece69169d845724b03c03f00608bdbdfb
DIST test-unit-3.5.7.tar.gz 164734 BLAKE2B 470a4552f2da0b7b9c8f3cbd071229fefa12c1e48c32936a6520902a9443a891cd19ed0e7c71ba4f8d81747902afd2e3dbc3eaa6ac7683ca11e5ad88e7c4497e SHA512 af678a89590c9305eeac3a4e5c7e99354df5b49157de573ee3ff312dad9f12dbcaef3dfe7ffc256194e39e0438625acdd9ab3e9686d7e2c58b2cf225f7f1f74c
+DIST test-unit-3.5.8.tar.gz 165216 BLAKE2B 1a039931d87ce3ad4afecd4c1105bb6197acc05be3b9091ca6361689f42d725d1333553b7527bc5cb46306acd3ac4df20ed809e0aca9928a760fc0d849a51e2b SHA512 ab7f492dd5f4606cd91a32240aa3ef6dffec48281b65d960bf87d0b2a9a865d6273bb4cc6896397136c5b313669f615fe6f5a83a6a4ab241013eaa51cf5e3341
EBUILD test-unit-3.5.7.ebuild 1018 BLAKE2B 0df69e7b84cf2c2eb012a601040704435678127b1f243661fe05c5b60258784ee744860cbc13f020cdd1c662d7665476af5f238d983c30c8823a0e11749bbce8 SHA512 528a4bc73b6dd3065536c53c9cbb6ec7f91dc08227691df756bf6cb863d6d7b47efca25a27c4995beb9ae9bae7dbf156f8b36313ce431eb49b79d4b5d854eacf
+EBUILD test-unit-3.5.8.ebuild 1019 BLAKE2B c0b8597f3c7940efc19d48482aa006cecac3f9c1b254edf66792f8da586c6a74b7fbf38fd80c23a95e61d90947f5173d959f6c802c62cb444a38517352149adb SHA512 0007b0a0eaeb8e280b6bf8c9a46df26a643325b95d71f9072f6de5312e1d437b97e3a21f259f8c7e48f120e8dcd3548212394af576cd5bf89b90340482c8f9c5
MISC metadata.xml 399 BLAKE2B 2603ce47ba731ac6f9a822859bf3216a1839716f833a87cf614fd4d4978204bcce30fd05acf0850f75fb17c7b35684607f3efe9e7dbfaa984b0e176e8be138a6 SHA512 40911471efcf83b2a4cf802732883ea3ecbcd639a6462c0609c91a473b50d2a6f79b7067fbadd701e16f78d3ef4a8418e3d6a4e40c90bfad1d4ac3b6faac2579
diff --git a/dev-ruby/test-unit/test-unit-3.5.8.ebuild b/dev-ruby/test-unit/test-unit-3.5.8.ebuild
new file mode 100644
index 000000000000..35292fb09beb
--- /dev/null
+++ b/dev-ruby/test-unit/test-unit-3.5.8.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby30 ruby31 ruby32"
+
+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 ~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
+}