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.18.1.ebuild
Date: Sun, 01 Sep 2013 06:06:01
Message-Id: 20130901060558.290682004C@flycatcher.gentoo.org
1 graaff 13/09/01 06:05:58
2
3 Modified: ChangeLog
4 Added: thor-0.18.1.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
9
10 Revision Changes Path
11 1.17 dev-ruby/thor/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/thor/ChangeLog?rev=1.17&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/thor/ChangeLog?rev=1.17&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/thor/ChangeLog?r1=1.16&r2=1.17
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/thor/ChangeLog,v
20 retrieving revision 1.16
21 retrieving revision 1.17
22 diff -u -r1.16 -r1.17
23 --- ChangeLog 15 Jan 2013 07:11:04 -0000 1.16
24 +++ ChangeLog 1 Sep 2013 06:05:57 -0000 1.17
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/thor
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/thor/ChangeLog,v 1.16 2013/01/15 07:11:04 zerochaos Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/thor/ChangeLog,v 1.17 2013/09/01 06:05:57 graaff Exp $
30 +
31 +*thor-0.18.1 (01 Sep 2013)
32 +
33 + 01 Sep 2013; Hans de Graaff <graaff@g.o> +thor-0.18.1.ebuild:
34 + Version bump.
35
36 15 Jan 2013; Rick Farina <zerochaos@g.o> thor-0.14.6.ebuild,
37 thor-0.15.2.ebuild:
38
39
40
41 1.1 dev-ruby/thor/thor-0.18.1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/thor/thor-0.18.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/thor/thor-0.18.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: thor-0.18.1.ebuild
47 ===================================================================
48 # Copyright 1999-2013 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.18.1.ebuild,v 1.1 2013/09/01 06:05:57 graaff Exp $
51
52 EAPI=4
53 USE_RUBY="ruby18 ruby19 jruby"
54
55 RUBY_FAKEGEM_RECIPE_DOC="rdoc"
56 RUBY_FAKEGEM_RECIPE_TEST="rspec"
57 RUBY_FAKEGEM_DOCDIR="rdoc"
58 RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
59 RUBY_FAKEGEM_BINWRAP="thor"
60
61 inherit ruby-fakegem
62
63 DESCRIPTION="A scripting framework that replaces rake and sake"
64 HOMEPAGE="http://whatisthor.com/"
65
66 SRC_URI="http://github.com/erikhuda/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV}.tgz"
67
68 LICENSE="MIT"
69 SLOT="0"
70 KEYWORDS="~amd64 ~arm"
71 IUSE="doc"
72
73 ruby_add_bdepend "
74 test? (
75 >=dev-ruby/fakeweb-1.3
76 dev-ruby/childlabor
77 )"
78
79 all_ruby_prepare() {
80 # Remove rspec default options (as we might not have the last
81 # rspec).
82 rm .rspec || die
83
84 # Remove Bundler
85 #rm Gemfile || die
86 sed -i -e '/[Bb]undler/d' Thorfile || die
87
88 # Remove mandatory coverage collection using simplecov which is not
89 # packaged.
90 sed -i -e '/require .simplecov/,/SimpleCov.start/ s:^:#:' spec/helper.rb || die
91 }
92
93 each_ruby_prepare() {
94 # Skip two failing specs on thor. Our jruby 1.6 is too old to file
95 # bugs against and the next thor version will no longer work with
96 # this version altogether.
97 case ${RUBY} in
98 *jruby)
99 sed -i -e '/works with glob characters in the path/,/end/ s:^:#:' \
100 spec/actions/directory_spec.rb || die
101 ;;
102 esac
103 }