summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-05-07 09:07:56 +0200
committerHans de Graaff <graaff@gentoo.org>2017-05-07 11:44:02 +0200
commite017efd1c66eb9a9abb07750b929fb65ab2f40f7 (patch)
tree845bda6a8bbe686f6280090b8ccbad0e95d874d8 /dev-ruby/mocha
parentdev-ruby/test_declarative: add ruby24 (diff)
downloadgentoo-e017efd1c66eb9a9abb07750b929fb65ab2f40f7.tar.gz
gentoo-e017efd1c66eb9a9abb07750b929fb65ab2f40f7.tar.bz2
gentoo-e017efd1c66eb9a9abb07750b929fb65ab2f40f7.zip
dev-ruby/mocha: add ruby24, avoid dep on yard
Package-Manager: Portage-2.3.5, Repoman-2.3.1
Diffstat (limited to 'dev-ruby/mocha')
-rw-r--r--dev-ruby/mocha/mocha-0.14.0.ebuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/dev-ruby/mocha/mocha-0.14.0.ebuild b/dev-ruby/mocha/mocha-0.14.0.ebuild
index 91ca99b41d6b..dced3f1acb64 100644
--- a/dev-ruby/mocha/mocha-0.14.0.ebuild
+++ b/dev-ruby/mocha/mocha-0.14.0.ebuild
@@ -2,12 +2,11 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=5
-USE_RUBY="ruby20 ruby21 ruby22 ruby23"
+USE_RUBY="ruby21 ruby22 ruby23 ruby24"
-RUBY_FAKEGEM_TASK_TEST="test:units"
+RUBY_FAKEGEM_TASK_TEST="MOCHA_NO_DOCS=true test:units"
-RUBY_FAKEGEM_TASK_DOC="yardoc"
-RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
RUBY_FAKEGEM_EXTRADOC="README.md RELEASE.md"
RUBY_FAKEGEM_EXTRAINSTALL="init.rb"
@@ -23,8 +22,7 @@ KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86"
IUSE=""
ruby_add_bdepend "
- doc? ( dev-ruby/yard )
- test? ( dev-ruby/yard >=dev-ruby/test-unit-2.5.1-r1 dev-ruby/introspection )"
+ test? ( >=dev-ruby/test-unit-2.5.1-r1 dev-ruby/introspection )"
ruby_add_rdepend "dev-ruby/metaclass" #metaclass ~> 0.0.1