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/fast_gettext: ChangeLog fast_gettext-0.6.6.ebuild
Date: Sun, 08 Apr 2012 06:17:40
Message-Id: 20120408061725.805A62004B@flycatcher.gentoo.org
1 graaff 12/04/08 06:17:25
2
3 Modified: ChangeLog
4 Added: fast_gettext-0.6.6.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.1.10.49/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.10 dev-ruby/fast_gettext/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/fast_gettext/ChangeLog?rev=1.10&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/fast_gettext/ChangeLog?rev=1.10&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/fast_gettext/ChangeLog?r1=1.9&r2=1.10
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/fast_gettext/ChangeLog,v
20 retrieving revision 1.9
21 retrieving revision 1.10
22 diff -u -r1.9 -r1.10
23 --- ChangeLog 23 Mar 2012 07:24:52 -0000 1.9
24 +++ ChangeLog 8 Apr 2012 06:17:25 -0000 1.10
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/fast_gettext
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fast_gettext/ChangeLog,v 1.9 2012/03/23 07:24:52 graaff Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fast_gettext/ChangeLog,v 1.10 2012/04/08 06:17:25 graaff Exp $
30 +
31 +*fast_gettext-0.6.6 (08 Apr 2012)
32 +
33 + 08 Apr 2012; Hans de Graaff <graaff@g.o> +fast_gettext-0.6.6.ebuild:
34 + Version bump.
35
36 *fast_gettext-0.6.4-r1 (23 Mar 2012)
37
38
39
40
41 1.1 dev-ruby/fast_gettext/fast_gettext-0.6.6.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/fast_gettext/fast_gettext-0.6.6.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/fast_gettext/fast_gettext-0.6.6.ebuild?rev=1.1&content-type=text/plain
45
46 Index: fast_gettext-0.6.6.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/fast_gettext/fast_gettext-0.6.6.ebuild,v 1.1 2012/04/08 06:17:25 graaff Exp $
51
52 EAPI="4"
53
54 # jruby support requires sqlite3 support for jruby.
55 USE_RUBY="ruby18 ruby19 ree18"
56
57 RUBY_FAKEGEM_TASK_DOC=""
58 RUBY_FAKEGEM_EXTRADOC="CHANGELOG Readme.md"
59
60 RUBY_FAKEGEM_TASK_TEST="none"
61
62 inherit ruby-fakegem
63
64 DESCRIPTION="GetText but 3.5 x faster, 560 x less memory, simple, clean namespace (7 vs 34) and threadsave!"
65 HOMEPAGE="https://github.com/grosser/fast_gettext"
66
67 LICENSE="public-domain"
68 SLOT="0"
69 KEYWORDS="~amd64"
70 IUSE=""
71
72 ruby_add_bdepend "test? ( dev-ruby/rspec:2 dev-ruby/activerecord dev-ruby/bundler )"
73
74 all_ruby_prepare() {
75 rm Gemfile.lock || die
76
77 # Remove jeweler from Gemfile since it is not needed for tests.
78 sed -i '/jeweler/d' Gemfile || die
79
80 # Don't run a test that requires safe mode which we can't provide
81 # due to insecure directory settings for the portage dir. This spec
82 # also calls out to ruby which won't work with different ruby
83 # implementations.
84 sed -i -e '/can work in SAFE mode/,/end/ s:^:#:' spec/fast_gettext/translation_repository/mo_spec.rb || die
85 }
86
87 each_ruby_prepare() {
88 # Make sure the right ruby interpreter is used
89 sed -i -e "s:bundle exec ruby:bundle exec ${RUBY}:" spec/fast_gettext/vendor/*spec.rb || die
90 }
91
92 each_ruby_test() {
93 ${RUBY} -S rspec spec || die
94 }