diff options
author | Hans de Graaff <graaff@gentoo.org> | 2014-05-18 06:28:36 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2014-05-18 06:28:36 +0000 |
commit | 690655897f91d36e093ae6ca0a6dc16bdb870392 (patch) | |
tree | 53be6ec0ce21579dd8fad5c23bc30535fa8f20fa /dev-ruby/rake | |
parent | Add missing mips keyword. (diff) | |
download | gentoo-2-690655897f91d36e093ae6ca0a6dc16bdb870392.tar.gz gentoo-2-690655897f91d36e093ae6ca0a6dc16bdb870392.tar.bz2 gentoo-2-690655897f91d36e093ae6ca0a6dc16bdb870392.zip |
Version bump.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/rake')
-rw-r--r-- | dev-ruby/rake/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/rake/rake-10.3.2.ebuild | 64 |
2 files changed, 70 insertions, 1 deletions
diff --git a/dev-ruby/rake/ChangeLog b/dev-ruby/rake/ChangeLog index 2580e6ae6a4d..c1d6076ba139 100644 --- a/dev-ruby/rake/ChangeLog +++ b/dev-ruby/rake/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/rake # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rake/ChangeLog,v 1.154 2014/04/21 06:56:39 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rake/ChangeLog,v 1.155 2014/05/18 06:28:35 graaff Exp $ + +*rake-10.3.2 (18 May 2014) + + 18 May 2014; Hans de Graaff <graaff@gentoo.org> +rake-10.3.2.ebuild: + Version bump. 21 Apr 2014; Hans de Graaff <graaff@gentoo.org> rake-10.3.1.ebuild: Drop hoe dependency for USE=doc and for tests to make bootstrapping easier. diff --git a/dev-ruby/rake/rake-10.3.2.ebuild b/dev-ruby/rake/rake-10.3.2.ebuild new file mode 100644 index 000000000000..c37359431a0a --- /dev/null +++ b/dev-ruby/rake/rake-10.3.2.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rake/rake-10.3.2.ebuild,v 1.1 2014/05/18 06:28:36 graaff Exp $ + +EAPI=5 +USE_RUBY="ruby19 ruby20 ruby21 jruby" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGES README.rdoc TODO" + +RUBY_FAKEGEM_TASK_TEST="" + +inherit bash-completion-r1 ruby-fakegem + +DESCRIPTION="Make-like scripting in Ruby" +HOMEPAGE="http://rake.rubyforge.org/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc" + +DEPEND+=" app-arch/gzip" + +ruby_add_bdepend "test? ( >=dev-ruby/minitest-4:0 )" + +all_ruby_prepare() { + # Decompress the file. The compressed version has errors, ignore them. + zcat doc/rake.1.gz > doc/rake.1 +} + +each_ruby_prepare() { + case ${RUBY} in + *jruby) + # Remove failing test. This works on jruby 1.7, is a + # known bug on 1.6 and also fails on rake-0.9.6. + sed -i -e '/test_signal_propagation_in_tests/,/^ end/ s:^:#:' test/test_rake_functional.rb || die + ;; + esac +} + +all_ruby_compile() { + if use doc; then + rdoc --title "Rake - Ruby Make" --main README.rdoc --out html lib *.rdoc doc/*/*.rdoc || die + fi +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e 'gem "minitest", "~>4.0"; require "minitest/autorun"; Dir["test/test_*.rb"].each{|f| require f}' || die +} + +all_ruby_install() { + ruby_fakegem_binwrapper rake + + if use doc; then + pushd html + dohtml -r * + popd + fi + + doman doc/rake.1 + + newbashcomp "${FILESDIR}"/rake.bash-completion ${PN} +} |