1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 RUBY_FAKEGEM_DOCDIR="rdoc"
12 DESCRIPTION="Ruby monitoring framework which replaces monit"
13 HOMEPAGE="http://god.rubyforge.org/"
17 KEYWORDS="~amd64 ~x86"
20 # jabber test requires xmpp4r
21 # webhook and campfire tests require json
22 # twitter test requires twitter
23 ruby_add_bdepend "doc? ( dev-ruby/jeweler
25 test? ( dev-ruby/jeweler
31 # After all of our work fixing test dependencies, we can't run them
32 # because they always fail (at least for god-0.11.0).
36 # the campfire test requires dev-ruby/tinder which would have to
38 rm -v test/test_campfire.rb || die
39 # prowly isn't yet an ebuild either
40 rm -v test/test_prowl.rb || die
44 if has userpriv ${FEATURES}; then
45 ewarn "${PN} requires root priviliges to run its test. Thus, I am not running ${PN}'s"
46 ewarn "tests. Remove \"userpriv\" from FEATURES to run the tests."