Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-servers/thin: ChangeLog thin-1.2.5-r1.ebuild
Date: Mon, 25 Jan 2010 17:17:52
Message-Id: E1NZSZR-0006yD-Rr@stork.gentoo.org
1 flameeyes 10/01/25 17:17:49
2
3 Modified: ChangeLog thin-1.2.5-r1.ebuild
4 Log:
5 Fix deps, remove spec task when not running tests (to avoid depending on rspec unconditionally).
6 (Portage version: 2.2_rc61/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.10 www-servers/thin/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/thin/ChangeLog?rev=1.10&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/thin/ChangeLog?rev=1.10&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/thin/ChangeLog?r1=1.9&r2=1.10
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/www-servers/thin/ChangeLog,v
18 retrieving revision 1.9
19 retrieving revision 1.10
20 diff -u -r1.9 -r1.10
21 --- ChangeLog 21 Jan 2010 10:55:23 -0000 1.9
22 +++ ChangeLog 25 Jan 2010 17:17:48 -0000 1.10
23 @@ -1,6 +1,11 @@
24 # ChangeLog for www-servers/thin
25 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/www-servers/thin/ChangeLog,v 1.9 2010/01/21 10:55:23 flameeyes Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/www-servers/thin/ChangeLog,v 1.10 2010/01/25 17:17:48 flameeyes Exp $
28 +
29 + 25 Jan 2010; Diego E. Pettenò <flameeyes@g.o>
30 + thin-1.2.5-r1.ebuild:
31 + Fix deps, remove spec task when not running tests (to avoid depending on
32 + rspec unconditionally).
33
34 *thin-1.2.5-r1 (21 Jan 2010)
35
36
37
38
39 1.2 www-servers/thin/thin-1.2.5-r1.ebuild
40
41 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/thin/thin-1.2.5-r1.ebuild?rev=1.2&view=markup
42 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/thin/thin-1.2.5-r1.ebuild?rev=1.2&content-type=text/plain
43 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/thin/thin-1.2.5-r1.ebuild?r1=1.1&r2=1.2
44
45 Index: thin-1.2.5-r1.ebuild
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/www-servers/thin/thin-1.2.5-r1.ebuild,v
48 retrieving revision 1.1
49 retrieving revision 1.2
50 diff -u -r1.1 -r1.2
51 --- thin-1.2.5-r1.ebuild 21 Jan 2010 10:55:23 -0000 1.1
52 +++ thin-1.2.5-r1.ebuild 25 Jan 2010 17:17:48 -0000 1.2
53 @@ -1,6 +1,6 @@
54 # Copyright 1999-2010 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 -# $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 $
57 +# $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 $
58
59 EAPI=2
60
61 @@ -24,6 +24,9 @@
62 ruby_add_rdepend ">=dev-ruby/daemons-1.0.9
63 >=dev-ruby/rack-1.0.0
64 >=dev-ruby/eventmachine-0.12.6"
65 +ruby_add_bdepend dev-ruby/rake-compiler
66 +
67 +ruby_add_bdepend test dev-ruby/rspec
68
69 all_ruby_prepare() {
70 # Fix Ragel-based parser generation (uses a *very* old syntax that
71 @@ -41,6 +44,9 @@
72 spec/daemonizing_spec.rb || die
73
74 epatch "${FILESDIR}"/${P}-tests.patch
75 +
76 + # nasty but too complex to fix up for now :(
77 + use test || rm tasks/spec.rake
78 }
79
80 each_ruby_compile() {