summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2009-12-16 17:51:49 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2009-12-16 17:51:49 +0000
commit38c64a9640333883b069e424e4995324ed016c25 (patch)
tree227d303534d59712799b566a6da64bc48e39b957 /dev-ruby/rake
parentMarked stable on AMD64 as it addresses bug #295051 (JACK plugin build failure... (diff)
downloadhistorical-38c64a9640333883b069e424e4995324ed016c25.tar.gz
historical-38c64a9640333883b069e424e4995324ed016c25.tar.bz2
historical-38c64a9640333883b069e424e4995324ed016c25.zip
Fix eclass to avoid looping dependencies: use the local rake for tests and documentation building rather than ruby-fakegem's boilerplate functions.
Package-Manager: portage-2.2_rc59/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/rake')
-rw-r--r--dev-ruby/rake/ChangeLog7
-rw-r--r--dev-ruby/rake/Manifest12
-rw-r--r--dev-ruby/rake/rake-0.8.7-r2.ebuild14
3 files changed, 23 insertions, 10 deletions
diff --git a/dev-ruby/rake/ChangeLog b/dev-ruby/rake/ChangeLog
index 493e9580ec52..6e34aeab5ec6 100644
--- a/dev-ruby/rake/ChangeLog
+++ b/dev-ruby/rake/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/rake
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rake/ChangeLog,v 1.85 2009/12/15 06:54:12 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rake/ChangeLog,v 1.86 2009/12/16 17:51:49 flameeyes Exp $
+
+ 16 Dec 2009; Diego E. Pettenò <flameeyes@gentoo.org>
+ rake-0.8.7-r2.ebuild:
+ Fix eclass to avoid looping dependencies: use the local rake for tests and
+ documentation building rather than ruby-fakegem's boilerplate functions.
15 Dec 2009; Hans de Graaff <graaff@gentoo.org> rake-0.8.7-r2.ebuild:
Explicitly turn off the fakegem doc and test tasks since this will trigger
diff --git a/dev-ruby/rake/Manifest b/dev-ruby/rake/Manifest
index ffe8da4d1a91..cb244f2e831d 100644
--- a/dev-ruby/rake/Manifest
+++ b/dev-ruby/rake/Manifest
@@ -5,14 +5,14 @@ AUX rake.bash-completion 1354 RMD160 a0ed1aac9fce4a866ed0bacf5d6b3585abaf8a2a SH
DIST rake-0.8.7.gem 104960 RMD160 1c41208b3bf8fba5a89a7b156eb862c4cf6278f0 SHA1 91daad079d404b68a7dd179716b9fdd0c195144c SHA256 10b37bdad695497c98aa8d7632e2aa5a589ddae2abaa42d24e5950de4ffde10f
DIST rake-0.8.7.tgz 103104 RMD160 02c95d2ef492694091d48e19735f3f7b8e8b98f0 SHA1 97d223be50ebbaa49900923693cbfb4918a8e570 SHA256 43e209ccc3d320bd422fcffbd5654b80a110b9fea81d1d5f029715a35f5770cc
EBUILD rake-0.8.7-r1.ebuild 566 RMD160 0b97a5cb36002a18adea792900ac922fa99ff6a6 SHA1 2da9d3025d6e5837dd35abad49b51f70ce5bd992 SHA256 4a067e18fca7000267eae3b1bbd781e93693c126991cf561e0017a96c3895002
-EBUILD rake-0.8.7-r2.ebuild 880 RMD160 da6660e032872bd1fa54acb41300669dd9b55b91 SHA1 03c8dc7a2b3d61bf1a952d8e5043afeaadd285d3 SHA256 716271526585f32b589598a5b2590aba3b83278349b640ecd524d82888a24b2d
+EBUILD rake-0.8.7-r2.ebuild 1020 RMD160 1bc9c853b24fbd64bc94c4ea7eb7462453c38ff1 SHA1 e637ed16ed97873a4a117855730c881f7fdccf98 SHA256 82f49dc1850941f21e6d06696a0286465da93037c0355fae9ca1797988404be4
EBUILD rake-0.8.7.ebuild 428 RMD160 902e7a93a48421465036a3ddcdc386a709288e7d SHA1 43746061c7f32b99eab93d2cab94f621c4b8a077 SHA256 471b293d2ee6dee50a908138a7bd06a8c5f18e73f9327766116f44a345449c2f
-MISC ChangeLog 10335 RMD160 2f0fc1c3c1bb5cbfcf31938cb090a97dd78e6c68 SHA1 bd6c0a95189e0b6dda2e503096c78243be695ab6 SHA256 e3ca1540dbc9d49e8eb485cbd6566f41d6064c5b94bc7e23d1349cd19601dc0d
+MISC ChangeLog 10571 RMD160 fa257c0ec40725d04ef63ae1f3f40562388d4401 SHA1 fae6135c42a5dfd0eb4bb87f9cbf25e64640b33e SHA256 ea21f89d3548f29d3b7cf3d1853df54cea44696d4eaaec8d5300a3612ced92fa
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.11 (GNU/Linux)
+Version: GnuPG v2.0.13 (GNU/Linux)
-iEYEARECAAYFAksnMqAACgkQeM7EJeUH71MK2QCfRCx8JW60bXc+RBUbfJbbII8A
-2vQAn01kaUtmxT8iVT7R9WfgYZsJmnxo
-=nVPy
+iEYEARECAAYFAkspHjUACgkQAiZjviIA2XgjYACfTEyd/j+NXVl4c8VXWmrXTxj6
+mWMAnjoH/Vxi4DDFjIKOXLJCJtWHuoLk
+=e/vc
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/rake/rake-0.8.7-r2.ebuild b/dev-ruby/rake/rake-0.8.7-r2.ebuild
index 3869bcec35f9..e1e259360778 100644
--- a/dev-ruby/rake/rake-0.8.7-r2.ebuild
+++ b/dev-ruby/rake/rake-0.8.7-r2.ebuild
@@ -1,15 +1,15 @@
# Copyright 1999-2009 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-r2.ebuild,v 1.2 2009/12/15 06:54:12 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rake/rake-0.8.7-r2.ebuild,v 1.3 2009/12/16 17:51:49 flameeyes Exp $
EAPI=2
USE_RUBY="ruby18 ruby19 jruby"
-inherit bash-completion ruby-fakegem
-
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"
@@ -23,6 +23,14 @@ IUSE="bash-completion"
RESTRICT="test"
+all_ruby_compile() {
+ bin/rake rdoc || die "doc generation failed"
+}
+
+each_ruby_test() {
+ ${RUBY} bin/rake test || die "tests failed"
+}
+
all_ruby_install() {
ruby_fakegem_binwrapper rake