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.7.0.ebuild
Date: Sun, 03 Mar 2013 20:41:52
Message-Id: 20130303204148.28A032171D@flycatcher.gentoo.org
1 graaff 13/03/03 20:41:48
2
3 Modified: ChangeLog
4 Added: fast_gettext-0.7.0.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.1.11.52/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
9
10 Revision Changes Path
11 1.22 dev-ruby/fast_gettext/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/fast_gettext/ChangeLog?rev=1.22&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/fast_gettext/ChangeLog?rev=1.22&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/fast_gettext/ChangeLog?r1=1.21&r2=1.22
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/fast_gettext/ChangeLog,v
20 retrieving revision 1.21
21 retrieving revision 1.22
22 diff -u -r1.21 -r1.22
23 --- ChangeLog 3 Mar 2013 20:39:29 -0000 1.21
24 +++ ChangeLog 3 Mar 2013 20:41:47 -0000 1.22
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/fast_gettext
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fast_gettext/ChangeLog,v 1.21 2013/03/03 20:39:29 graaff Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fast_gettext/ChangeLog,v 1.22 2013/03/03 20:41:47 graaff Exp $
30 +
31 +*fast_gettext-0.7.0 (03 Mar 2013)
32 +
33 + 03 Mar 2013; Hans de Graaff <graaff@g.o> +fast_gettext-0.7.0.ebuild:
34 + Version bump.
35
36 03 Mar 2013; Hans de Graaff <graaff@g.o> -fast_gettext-0.6.10.ebuild:
37 Cleanup.
38
39
40
41 1.1 dev-ruby/fast_gettext/fast_gettext-0.7.0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/fast_gettext/fast_gettext-0.7.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/fast_gettext/fast_gettext-0.7.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: fast_gettext-0.7.0.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/fast_gettext/fast_gettext-0.7.0.ebuild,v 1.1 2013/03/03 20:41:47 graaff Exp $
51
52 EAPI=5
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_RECIPE_TEST="rspec"
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 ~x86"
70 IUSE=""
71
72 ruby_add_bdepend "test? ( dev-ruby/activerecord dev-ruby/bundler )"
73
74 all_ruby_prepare() {
75 rm Gemfile.lock || die
76
77 # Remove jeweler and bump from Gemfile since they are not needed for tests.
78 sed -i -e '/jeweler/d' -e '/bump/d' -e '/appraisal/d' Gemfile || die
79
80 # Avoid unneeded dependency on git.
81 sed -i -e '/git ls-files/ s:^:#:' fast_gettext.gemspec || die
82
83 # Don't run a test that requires safe mode which we can't provide
84 # due to insecure directory settings for the portage dir. This spec
85 # also calls out to ruby which won't work with different ruby
86 # implementations.
87 sed -i -e '/can work in SAFE mode/,/end/ s:^:#:' spec/fast_gettext/translation_repository/mo_spec.rb || die
88 }
89
90 each_ruby_prepare() {
91 # Make sure the right ruby interpreter is used
92 sed -i -e "s:bundle exec ruby:bundle exec ${RUBY}:" spec/fast_gettext/vendor/*spec.rb || die
93 }