Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/thor: thor-0.15.2.ebuild ChangeLog
Date: Thu, 07 Jun 2012 21:57:54
Message-Id: 20120607215739.BD49E2004B@flycatcher.gentoo.org
1 flameeyes 12/06/07 21:57:39
2
3 Modified: ChangeLog
4 Added: thor-0.15.2.ebuild
5 Log:
6 Version bump; new dependency, fixed tests.
7
8 (Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.15 dev-ruby/thor/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/thor/ChangeLog?rev=1.15&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/thor/ChangeLog?rev=1.15&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/thor/ChangeLog?r1=1.14&r2=1.15
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/thor/ChangeLog,v
20 retrieving revision 1.14
21 retrieving revision 1.15
22 diff -u -r1.14 -r1.15
23 --- ChangeLog 1 May 2012 18:24:26 -0000 1.14
24 +++ ChangeLog 7 Jun 2012 21:57:39 -0000 1.15
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/thor
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/thor/ChangeLog,v 1.14 2012/05/01 18:24:26 armin76 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/thor/ChangeLog,v 1.15 2012/06/07 21:57:39 flameeyes Exp $
30 +
31 +*thor-0.15.2 (07 Jun 2012)
32 +
33 + 07 Jun 2012; Diego E. Pettenò <flameeyes@g.o> +thor-0.15.2.ebuild:
34 + Version bump; new dependency, fixed tests.
35
36 01 May 2012; Raúl Porcel <armin76@g.o> thor-0.14.6.ebuild:
37 Drop ia64/sparc keywords
38
39
40
41 1.1 dev-ruby/thor/thor-0.15.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/thor/thor-0.15.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/thor/thor-0.15.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: thor-0.15.2.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/thor/thor-0.15.2.ebuild,v 1.1 2012/06/07 21:57:39 flameeyes Exp $
51
52 EAPI=4
53 USE_RUBY="ruby18 ree18 ruby19 jruby"
54
55 RUBY_FAKEGEM_TASK_DOC=""
56 RUBY_FAKEGEM_TASK_TEST=""
57 RUBY_FAKEGEM_DOCDIR="rdoc"
58 RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.md"
59 RUBY_FAKEGEM_BINWRAP="thor"
60
61 RUBY_S="wycats-${PN}-*"
62
63 inherit ruby-fakegem
64
65 DESCRIPTION="A scripting framework that replaces rake and sake"
66 HOMEPAGE="http://github.com/wycats/thor"
67
68 SRC_URI="http://github.com/wycats/${PN}/tarball/v${PV} -> ${PN}-git-${PV}.tgz"
69
70 LICENSE="MIT"
71 SLOT="0"
72 KEYWORDS="~amd64"
73 IUSE="doc"
74
75 ruby_add_bdepend "
76 test? (
77 dev-ruby/fakeweb
78 dev-ruby/rspec:2
79 dev-ruby/childlabor
80 )
81 doc? (
82 dev-ruby/rdoc
83 )"
84
85 all_ruby_prepare() {
86 # Remove rspec default options (as we might not have the last
87 # rspec).
88 rm .rspec || die
89
90 # Remove Bundler
91 rm Gemfile || die
92 sed -i -e '/[Bb]undler/d' Thorfile || die
93
94 # Remove mandatory coverage collection using simplecov which is not
95 # packaged.
96 sed -i -e '/require .simplecov/, /^end/ d' spec/spec_helper.rb || die
97 }
98
99 all_ruby_compile() {
100 if use doc; then
101 ruby -Ilib bin/thor rdoc || die "RDoc generation failed"
102 fi
103 }
104
105 each_ruby_test() {
106 ${RUBY} -S rspec spec || die "Tests for ${RUBY} failed"
107 }