From: Nathan Phillip Brink (binki) Date: Mon, 11 Apr 2011 01:42:18 +0000 (+0000) Subject: dev-ruby/god: Bump to god-0.11.0. Move to ruby-fakegem eclass from the deprecated... X-Git-Url: http://pileus.org/git/?a=commitdiff_plain;h=6efe7be04ceeeeeb8273b7e9d8f01346f02b4ff7;p=~andy%2Fsunrise dev-ruby/god: Bump to god-0.11.0. Move to ruby-fakegem eclass from the deprecated gems eclass. Restrict failing tests. (Portage version: 2.2.0_alpha29-r1/svn/Linux x86_64) svn path=/sunrise/; revision=11882 --- diff --git a/dev-ruby/god/ChangeLog b/dev-ruby/god/ChangeLog index 837553979..33572b67c 100644 --- a/dev-ruby/god/ChangeLog +++ b/dev-ruby/god/ChangeLog @@ -1,7 +1,14 @@ # ChangeLog for dev-ruby/god -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*god-0.11.0 (11 Apr 2011) + + 11 Apr 2011; Nathan Phillip Brink (binki) + -god-0.7.13.ebuild, +god-0.11.0.ebuild: + Bump to god-0.11.0. Move to ruby-fakegem eclass from the deprecated gems + eclass. Restrict failing tests. + 04 Aug 2009; CS Shyam Sundar (CS3) god-0.7.13.ebuild: Updated Description in Ebuild for bug 280131 - thanks to hwoarang diff --git a/dev-ruby/god/god-0.11.0.ebuild b/dev-ruby/god/god-0.11.0.ebuild new file mode 100644 index 000000000..d0d3c00e3 --- /dev/null +++ b/dev-ruby/god/god-0.11.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 + +USE_RUBY="ruby18" +RUBY_FAKEGEM_DOCDIR="rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Ruby monitoring framework which replaces monit" +HOMEPAGE="http://god.rubyforge.org/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +# jabber test requires xmpp4r +# webhook and campfire tests require json +# twitter test requires twitter +ruby_add_bdepend "doc? ( dev-ruby/jeweler + virtual/ruby-rdoc ) + test? ( dev-ruby/jeweler + dev-ruby/json + dev-ruby/mocha + dev-ruby/twitter + dev-ruby/xmpp4r )" + +# After all of our work fixing test dependencies, we can't run them +# because they always fail (at least for god-0.11.0). +RESTRICT="test" + +all_ruby_prepare() { + # the campfire test requires dev-ruby/tinder which would have to + # be ebuildized. + rm -v test/test_campfire.rb || die + # prowly isn't yet an ebuild either + rm -v test/test_prowl.rb || die +} + +each_ruby_test() { + if hasq userpriv ${FEATURES}; then + ewarn "${PN} requires root priviliges to run its test. Thus, I am not running ${PN}'s" + ewarn "tests. Remove \"userpriv\" from FEATURES to run the tests." + else + each_fakegem_test + fi +} diff --git a/dev-ruby/god/god-0.7.13.ebuild b/dev-ruby/god/god-0.7.13.ebuild deleted file mode 100644 index df19e2289..000000000 --- a/dev-ruby/god/god-0.7.13.ebuild +++ /dev/null @@ -1,14 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -USE_RUBY="ruby18" -inherit gems - -DESCRIPTION="Ruby monitoring framework which replaces monit" -HOMEPAGE="http://god.rubyforge.org/" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~x86" -IUSE=""