diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2010-01-25 17:17:48 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2010-01-25 17:17:48 +0000 |
commit | 9b555be09841e7a5fe154b508d21207d6a688228 (patch) | |
tree | a4c550a8c21c0fbfea11e2512199cfa6eb00cc86 /www-servers/thin | |
parent | Version bump KDE 4.3.5 (diff) | |
download | gentoo-2-9b555be09841e7a5fe154b508d21207d6a688228.tar.gz gentoo-2-9b555be09841e7a5fe154b508d21207d6a688228.tar.bz2 gentoo-2-9b555be09841e7a5fe154b508d21207d6a688228.zip |
Fix deps, remove spec task when not running tests (to avoid depending on rspec unconditionally).
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'www-servers/thin')
-rw-r--r-- | www-servers/thin/ChangeLog | 7 | ||||
-rw-r--r-- | www-servers/thin/thin-1.2.5-r1.ebuild | 8 |
2 files changed, 13 insertions, 2 deletions
diff --git a/www-servers/thin/ChangeLog b/www-servers/thin/ChangeLog index a9c4338f2aae..bff9efe27c46 100644 --- a/www-servers/thin/ChangeLog +++ b/www-servers/thin/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for www-servers/thin # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/thin/ChangeLog,v 1.9 2010/01/21 10:55:23 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/thin/ChangeLog,v 1.10 2010/01/25 17:17:48 flameeyes Exp $ + + 25 Jan 2010; Diego E. Pettenò <flameeyes@gentoo.org> + thin-1.2.5-r1.ebuild: + Fix deps, remove spec task when not running tests (to avoid depending on + rspec unconditionally). *thin-1.2.5-r1 (21 Jan 2010) diff --git a/www-servers/thin/thin-1.2.5-r1.ebuild b/www-servers/thin/thin-1.2.5-r1.ebuild index 6b4fafc934c3..990883b5017a 100644 --- a/www-servers/thin/thin-1.2.5-r1.ebuild +++ b/www-servers/thin/thin-1.2.5-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/thin/thin-1.2.5-r1.ebuild,v 1.1 2010/01/21 10:55:23 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/thin/thin-1.2.5-r1.ebuild,v 1.2 2010/01/25 17:17:48 flameeyes Exp $ EAPI=2 @@ -24,6 +24,9 @@ RDEPEND="" ruby_add_rdepend ">=dev-ruby/daemons-1.0.9 >=dev-ruby/rack-1.0.0 >=dev-ruby/eventmachine-0.12.6" +ruby_add_bdepend dev-ruby/rake-compiler + +ruby_add_bdepend test dev-ruby/rspec all_ruby_prepare() { # Fix Ragel-based parser generation (uses a *very* old syntax that @@ -41,6 +44,9 @@ all_ruby_prepare() { spec/daemonizing_spec.rb || die epatch "${FILESDIR}"/${P}-tests.patch + + # nasty but too complex to fix up for now :( + use test || rm tasks/spec.rake } each_ruby_compile() { |