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.3.ebuild
Date: Fri, 29 Oct 2010 15:39:30
Message-Id: 20101029153924.90DC920051@flycatcher.gentoo.org
1 graaff 10/10/29 15:39:24
2
3 Modified: ChangeLog
4 Added: thor-0.14.3.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.8.3/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.5 dev-ruby/thor/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/thor/ChangeLog?rev=1.5&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/thor/ChangeLog?rev=1.5&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/thor/ChangeLog?r1=1.4&r2=1.5
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/thor/ChangeLog,v
19 retrieving revision 1.4
20 retrieving revision 1.5
21 diff -u -r1.4 -r1.5
22 --- ChangeLog 29 Oct 2010 15:36:10 -0000 1.4
23 +++ ChangeLog 29 Oct 2010 15:39:24 -0000 1.5
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.4 2010/10/29 15:36:10 graaff Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/thor/ChangeLog,v 1.5 2010/10/29 15:39:24 graaff Exp $
29 +
30 +*thor-0.14.3 (29 Oct 2010)
31 +
32 + 29 Oct 2010; Hans de Graaff <graaff@g.o> +thor-0.14.3.ebuild:
33 + Version bump.
34
35 29 Oct 2010; Hans de Graaff <graaff@g.o> -thor-0.14.0.ebuild:
36 Remove old version.
37
38
39
40 1.1 dev-ruby/thor/thor-0.14.3.ebuild
41
42 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/thor/thor-0.14.3.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/thor/thor-0.14.3.ebuild?rev=1.1&content-type=text/plain
44
45 Index: thor-0.14.3.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.3.ebuild,v 1.1 2010/10/29 15:39:24 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 if use doc; then
86 ruby -Ilib bin/thor rdoc || die "RDoc generation failed"
87 fi
88 }
89
90 each_ruby_test() {
91 ${RUBY} -Ilib/ bin/thor spec || die "Tests for ${RUBY} failed"
92 }