Gentoo Archives: gentoo-commits

From: "Hans de Graaff (graaff)" <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/thor: ChangeLog thor-0.14.2.ebuild
Date: Sat, 02 Oct 2010 11:41:12
Message-Id: 20101002114102.613D320051@flycatcher.gentoo.org
1 graaff 10/10/02 11:41:02
2
3 Modified: ChangeLog
4 Added: thor-0.14.2.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.8.3/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.2 dev-ruby/thor/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/thor/ChangeLog?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/thor/ChangeLog?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/thor/ChangeLog?r1=1.1&r2=1.2
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/thor/ChangeLog,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- ChangeLog 31 Aug 2010 20:14:24 -0000 1.1
23 +++ ChangeLog 2 Oct 2010 11:41:02 -0000 1.2
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-ruby/thor
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/thor/ChangeLog,v 1.1 2010/08/31 20:14:24 a3li Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/thor/ChangeLog,v 1.2 2010/10/02 11:41:02 graaff Exp $
29 +
30 +*thor-0.14.2 (02 Oct 2010)
31 +
32 + 02 Oct 2010; Hans de Graaff <graaff@g.o> +thor-0.14.2.ebuild:
33 + Version bump.
34
35 *thor-0.14.0 (31 Aug 2010)
36
37
38
39
40 1.1 dev-ruby/thor/thor-0.14.2.ebuild
41
42 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/thor/thor-0.14.2.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/thor/thor-0.14.2.ebuild?rev=1.1&content-type=text/plain
44
45 Index: thor-0.14.2.ebuild
46 ===================================================================
47 # Copyright 1999-2010 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/thor/thor-0.14.2.ebuild,v 1.1 2010/10/02 11:41:02 graaff Exp $
50
51 EAPI=2
52 USE_RUBY="ruby18 ree18 ruby19"
53
54 RUBY_FAKEGEM_TASK_DOC=""
55 RUBY_FAKEGEM_TASK_TEST=""
56 RUBY_FAKEGEM_DOCDIR="rdoc"
57 RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.md"
58 RUBY_FAKEGEM_BINWRAP="thor"
59
60 inherit ruby-fakegem
61
62 DESCRIPTION="A scripting framework that replaces rake and sake"
63 HOMEPAGE="http://github.com/wycats/thor"
64
65 SRC_URI="http://github.com/wycats/${PN}/tarball/v${PV} -> ${PN}-git-${PV}.tgz"
66 S="${WORKDIR}/wycats-${PN}-*"
67
68 LICENSE="MIT"
69 SLOT="0"
70 KEYWORDS="~amd64 ~x86"
71 IUSE="doc"
72
73 ruby_add_bdepend "
74 test? ( dev-ruby/fakeweb )
75 doc? ( dev-ruby/rdoc )"
76
77 all_ruby_prepare() {
78 einfo $(pwd)
79 # Having VERSION in the docs makes the rdoc generation fail.
80 sed -i -e '/EXTRA_RDOC_FILES/s/"VERSION", //' Thorfile || die
81 }
82
83 all_ruby_compile() {
84 einfo $(pwd)
85 use doc && ruby -Ilib bin/thor rdoc || die "RDoc generation failed"
86 }
87
88 each_ruby_test() {
89 ${RUBY} -Ilib/ bin/thor spec || die "Tests for ${RUBY} failed"
90 }