summaryrefslogtreecommitdiff
path: root/dev-ruby/rubytest
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/rubytest')
-rw-r--r--dev-ruby/rubytest/Manifest1
-rw-r--r--dev-ruby/rubytest/metadata.xml9
-rw-r--r--dev-ruby/rubytest/rubytest-0.8.1.ebuild26
3 files changed, 36 insertions, 0 deletions
diff --git a/dev-ruby/rubytest/Manifest b/dev-ruby/rubytest/Manifest
new file mode 100644
index 000000000000..875ccec80e27
--- /dev/null
+++ b/dev-ruby/rubytest/Manifest
@@ -0,0 +1 @@
+DIST rubytest-0.8.1.gem 23552 BLAKE2B 1109a2e5de2336d727a3fd1ed7833a60549022d95a74a3ce0c4d94d1fc527841cd5aaef6177adebc002e7fe8c016b24be82f1c8c1dc602a7ef8f5c4653781447 SHA512 545e3c2af0c5f9bd5b109b809dc249171f4e738b7b3827f753746740ba03c360191a6b3c5f4068c97472474b543d3f1f88ef755a8dddbaf291a78e3fc073bb66
diff --git a/dev-ruby/rubytest/metadata.xml b/dev-ruby/rubytest/metadata.xml
new file mode 100644
index 000000000000..136457a413d3
--- /dev/null
+++ b/dev-ruby/rubytest/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+</maintainer>
+ <origin>gentoo-staging</origin>
+</pkgmetadata>
diff --git a/dev-ruby/rubytest/rubytest-0.8.1.ebuild b/dev-ruby/rubytest/rubytest-0.8.1.ebuild
new file mode 100644
index 000000000000..ef5b1435f785
--- /dev/null
+++ b/dev-ruby/rubytest/rubytest-0.8.1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+USE_RUBY="ruby24 ruby25 ruby26 ruby27"
+
+RUBY_FAKEGEM_TASK_TEST=""
+RUBY_FAKEGEM_RECIPE_DOC="yard"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Ruby Test is a universal test harness for Ruby"
+HOMEPAGE="https://rubyworks.github.io/rubytest/"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/ae dev-ruby/qed )"
+ruby_add_rdepend "dev-ruby/ansi"
+
+each_ruby_test() {
+ ${RUBY} -S qed || die 'tests failed'
+}