summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-10-23 08:39:35 +0200
committerHans de Graaff <graaff@gentoo.org>2021-10-23 08:39:35 +0200
commit605aff61b5a3ba775c7a8bca1b0c781817bb764d (patch)
tree4a4b673be226f455f40e1a79b8726ef7c6aa3c23 /dev-ruby/lemon
parentdev-ruby/rubytest: fix running tests with qed (diff)
downloadgentoo-605aff61b5a3ba775c7a8bca1b0c781817bb764d.tar.gz
gentoo-605aff61b5a3ba775c7a8bca1b0c781817bb764d.tar.bz2
gentoo-605aff61b5a3ba775c7a8bca1b0c781817bb764d.zip
dev-ruby/lemon: EAPI; add ruby30
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/lemon')
-rw-r--r--dev-ruby/lemon/lemon-0.9.1-r1.ebuild29
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-ruby/lemon/lemon-0.9.1-r1.ebuild b/dev-ruby/lemon/lemon-0.9.1-r1.ebuild
new file mode 100644
index 000000000000..26bf227fe58e
--- /dev/null
+++ b/dev-ruby/lemon/lemon-0.9.1-r1.ebuild
@@ -0,0 +1,29 @@
+# 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_TASK_TEST=""
+RUBY_FAKEGEM_RECIPE_DOC="yard"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Lemon is a unit testing framework"
+HOMEPAGE="https://rubyworks.github.io/lemon/"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/qed )"
+ruby_add_rdepend "
+ dev-ruby/ae
+ >=dev-ruby/ansi-1.3
+ dev-ruby/rubytest"
+
+each_ruby_test() {
+ ${RUBY} -S qed || die 'tests failed'
+}