diff options
author | Hans de Graaff <graaff@gentoo.org> | 2012-05-26 06:18:36 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2012-05-26 06:18:36 +0000 |
commit | 269b6a652834a4379fcf2e92432e73797d7a0c81 (patch) | |
tree | 8f95a537e7ffb9d9f2169e2180083f37e3010277 /dev-ruby/rake | |
parent | Rename net-libs/axTLS to net-libs/axtls (diff) | |
download | gentoo-2-269b6a652834a4379fcf2e92432e73797d7a0c81.tar.gz gentoo-2-269b6a652834a4379fcf2e92432e73797d7a0c81.tar.bz2 gentoo-2-269b6a652834a4379fcf2e92432e73797d7a0c81.zip |
Add revision with rbx to fix dependencies, thanks for Mr_Bones for reporting.
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/rake')
-rw-r--r-- | dev-ruby/rake/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/rake/rake-0.8.7-r7.ebuild | 49 |
2 files changed, 55 insertions, 1 deletions
diff --git a/dev-ruby/rake/ChangeLog b/dev-ruby/rake/ChangeLog index 6828549010ad..3e083ed962d2 100644 --- a/dev-ruby/rake/ChangeLog +++ b/dev-ruby/rake/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/rake # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rake/ChangeLog,v 1.118 2012/05/26 06:15:10 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rake/ChangeLog,v 1.119 2012/05/26 06:18:36 graaff Exp $ + +*rake-0.8.7-r7 (26 May 2012) + + 26 May 2012; Hans de Graaff <graaff@gentoo.org> +rake-0.8.7-r7.ebuild: + Add revision with rbx to fix dependencies, thanks for Mr_Bones for reporting. 26 May 2012; Hans de Graaff <graaff@gentoo.org> rake-0.9.2.2.ebuild: Actually test the new code, not what it installed already. diff --git a/dev-ruby/rake/rake-0.8.7-r7.ebuild b/dev-ruby/rake/rake-0.8.7-r7.ebuild new file mode 100644 index 000000000000..f0e7e17379d7 --- /dev/null +++ b/dev-ruby/rake/rake-0.8.7-r7.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rake/rake-0.8.7-r7.ebuild,v 1.1 2012/05/26 06:18:36 graaff Exp $ + +EAPI=2 +USE_RUBY="ruby18 ree18 ruby19 jruby rbx" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_TASK_TEST="" + +inherit bash-completion ruby-fakegem + +DESCRIPTION="Make-like scripting in Ruby" +HOMEPAGE="http://rake.rubyforge.org/" +SRC_URI="mirror://rubyforge/${PN}/${P}.tgz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="bash-completion doc" + +#ruby_add_bdepend test dev-ruby/flexmock + +RESTRICT="test" + +all_ruby_compile() { + if use doc; then + ruby -Ilib bin/rake rdoc || die "doc generation failed" + fi +} + +each_ruby_test() { + ${RUBY} -Ilib bin/rake test || die "tests failed" +} + +all_ruby_install() { + ruby_fakegem_binwrapper rake + + if use doc; then + pushd html + dohtml -r * + popd + fi + + dodoc CHANGES README TODO || die + doman doc/rake.1.gz || die + + dobashcompletion "${FILESDIR}"/rake.bash-completion rake +} |